/* ==========================================================================
   Cuz’ Tom Homes — "Forged & Finished" design system
   Loaded after Bricks frontend CSS. Elements carry cth-* global classes.
   ========================================================================== */

:root {
	--cth-black: #0f0f10;
	--cth-char: #18191b;
	--cth-graphite: #232528;
	--cth-steel: #3a3d42;
	--cth-grey: #a3a8ae;
	--cth-mist: #d9d6d0;
	--cth-bone: #efece6;
	--cth-gold: #e0ae1c;
	--cth-gold-dk: #a87a0c;
	--cth-gold-lt: #f2cb52;
	--cth-display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
	--cth-sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--cth-script: "Libre Baskerville", Georgia, serif;
	--cth-wrap: 1280px;
	--cth-gutter: 28px;
	--cth-ease: cubic-bezier(.2, .7, .2, 1);
	--cth-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--cth-noise-dk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body.bricks-is-frontend,
body {
	font-family: var(--cth-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--cth-bone);
	background: var(--cth-black);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--cth-gold); color: var(--cth-black); }
:focus-visible { outline: 2px solid var(--cth-gold); outline-offset: 3px; }
.cth-skip { position: absolute; left: -9999px; }
.cth-skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--cth-gold); color: var(--cth-black); padding: 10px 14px; }

/* ---------- layout ---------- */
.brxe-container.cth-wrap,
.cth-wrap {
	width: min(var(--cth-wrap), 100% - var(--cth-gutter) * 2);
	max-width: none;
	margin-inline: auto;
	position: relative;
	z-index: 2;
}
.cth-section { position: relative; padding: 130px 0; overflow: hidden; }
.cth-section--tight { padding: 90px 0; }
.cth-section--flush-top { padding-top: 40px; }

/* surfaces + textures */
.cth-dark { background: var(--cth-black); color: var(--cth-bone); }
.cth-char { background: var(--cth-char); color: var(--cth-bone); }
.cth-char::before,
.cth-dark.cth-textured::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background-image: var(--cth-noise); opacity: .55;
}
.cth-bone { background: var(--cth-bone); color: var(--cth-black); }
.cth-bone::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background-image: var(--cth-noise-dk); mix-blend-mode: multiply;
}
/* faint blueprint grid, masked to a soft glow */
.cth-blueprint::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background-image:
		linear-gradient(rgba(224, 174, 28, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(224, 174, 28, .07) 1px, transparent 1px),
		linear-gradient(rgba(224, 174, 28, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(224, 174, 28, .035) 1px, transparent 1px);
	background-size: 112px 112px, 112px 112px, 28px 28px, 28px 28px;
	-webkit-mask-image: radial-gradient(ellipse at 75% 35%, #000 0%, transparent 72%);
	mask-image: radial-gradient(ellipse at 75% 35%, #000 0%, transparent 72%);
}
.cth-bone.cth-blueprint::after {
	background-image:
		linear-gradient(rgba(15, 15, 16, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 15, 16, .06) 1px, transparent 1px);
	background-size: 56px 56px, 56px 56px;
}

/* Bricks blocks default to align-items:flex-start; grids here should stretch */
.cth-svc, .cth-projects, .cth-pillars, .cth-contact-cards, .cth-steps { align-items: stretch; }

/* ---------- type ---------- */
.cth-kicker {
	display: inline-flex; align-items: center; gap: 14px;
	font: 600 13px/1.4 var(--cth-sans); letter-spacing: .28em; text-transform: uppercase;
	color: var(--cth-gold); margin: 0;
}
.cth-kicker::before {
	content: ""; width: 46px; height: 2px; background: var(--cth-gold); flex: none;
	transform-origin: left; animation: cth-grow 1.2s .3s both;
}
.cth-bone .cth-kicker { color: var(--cth-gold-dk); }
.cth-bone .cth-kicker::before { background: var(--cth-gold-dk); }
.cth-h1, .cth-h2, .cth-h3 { font-family: var(--cth-display); text-transform: uppercase; margin: 0; }
.cth-h1 { font-weight: 800; font-size: clamp(54px, 8.2vw, 124px); line-height: .9; letter-spacing: .005em; }
.cth-h2 { font-weight: 800; font-size: clamp(42px, 5.4vw, 82px); line-height: .93; }
.cth-h3 { font-weight: 700; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; letter-spacing: .01em; }
.cth-h1 span, .cth-h2 span, .cth-gold-text { color: var(--cth-gold); }
.cth-bone .cth-h2 span { color: var(--cth-gold-dk); }
.cth-script { font: italic 400 clamp(20px, 2vw, 28px)/1.35 var(--cth-script); color: var(--cth-mist); margin: 0; }
.cth-tagline { font: italic 400 18px/1.4 var(--cth-script); color: var(--cth-gold-lt); margin: 12px 0 18px; }
.cth-lede { font-size: 19px; color: #cbc8c2; max-width: 34em; margin: 0; }
.cth-muted { color: var(--cth-grey); max-width: 34em; }
.cth-bone .cth-muted { color: #55585d; }
.cth-prose { max-width: 40em; }
.cth-prose p { margin: 0 0 1.1em; }
.cth-prose p:last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */
.cth-btn.bricks-button,
.cth-btn {
	display: inline-flex; align-items: center; gap: 12px;
	font: 700 14px/1 var(--cth-sans); letter-spacing: .16em; text-transform: uppercase;
	padding: 19px 28px; border-radius: 0; border: 0; text-decoration: none;
	transition: background .3s, color .3s, border-color .3s, transform .3s var(--cth-ease);
	cursor: pointer;
}
.cth-btn--gold {
	background: var(--cth-gold); color: var(--cth-black);
	clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 14px) 100%, 0 100%);
}
.cth-btn--gold:hover { background: var(--cth-gold-lt); color: var(--cth-black); }
.cth-btn--line { border: 1px solid rgba(239, 236, 230, .45); color: var(--cth-bone); background: transparent; }
.cth-btn--line:hover { border-color: var(--cth-gold); color: var(--cth-gold-lt); }
.cth-bone .cth-btn--line { border-color: rgba(15, 15, 16, .35); color: var(--cth-black); }
.cth-bone .cth-btn--line:hover { border-color: var(--cth-gold-dk); color: var(--cth-gold-dk); }
.cth-btn--gold::after, .cth-btn--line::after { content: "→"; transition: transform .3s var(--cth-ease); }
.cth-btn:hover::after { transform: translateX(4px); }
.cth-btn--plain::after { content: none; }
.cth-ctas { display: flex; flex-direction: row; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.cth-more.bricks-button,
.cth-more {
	font: 700 13px/1 var(--cth-sans); letter-spacing: .2em; text-transform: uppercase;
	color: var(--cth-gold); display: inline-flex; gap: 12px; align-items: center;
	padding: 6px 0; background: none; text-decoration: none;
}
.cth-more::after { content: ""; display: inline-block; width: 30px; height: 2px; background: currentColor; transition: width .35s var(--cth-ease); }
.cth-more:hover::after { width: 54px; }
.cth-bone .cth-more { color: var(--cth-gold-dk); }

/* ---------- header ---------- */
#brx-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.cth-header { width: 100%; transition: background .35s, box-shadow .35s, transform .35s; }
.cth-header__inner { display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 24px; }
.cth-header__inner { align-items: center; padding-top: 22px; transition: padding .35s; }
.cth-logo { display: block; flex: none; line-height: 0; }
.cth-logo img { height: 74px; width: auto; display: block; transition: height .35s; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45)); }
.cth-header__nav { display: flex; flex-direction: row; align-items: center; gap: 34px; width: auto; }
.cth-header__cta.cth-btn { padding: 16px 22px; }
.cth-header__cta.cth-btn::after { content: none; }

/* sticky state, toggled by site.js */
.cth-scrolled #brx-header { position: fixed; }
.cth-scrolled .cth-header { background: rgba(15, 15, 16, .94); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: cth-drop .45s var(--cth-ease); }
.cth-scrolled .cth-header__inner { padding-top: 12px; padding-bottom: 12px; }
.cth-scrolled .cth-logo img { height: 48px; filter: none; }
.admin-bar.cth-scrolled #brx-header { top: 32px; }
@keyframes cth-drop { from { transform: translateY(-100%); } }

/* nav menu (Bricks nav-menu element) */
.cth-nav .bricks-nav-menu { gap: 32px; }
.cth-nav .bricks-nav-menu > li { margin: 0; }
.cth-nav .bricks-nav-menu > li > a {
	font: 600 14px/1 var(--cth-sans); letter-spacing: .16em; text-transform: uppercase;
	color: var(--cth-bone); opacity: .85; padding: 8px 0; border-bottom: 2px solid transparent; transition: .25s;
}
.cth-nav .bricks-nav-menu > li > a:hover,
.cth-nav .bricks-nav-menu > .current-menu-item > a,
.cth-nav .bricks-nav-menu > .current-menu-ancestor > a { opacity: 1; border-color: var(--cth-gold); }
.cth-nav .bricks-mobile-menu-toggle { color: var(--cth-bone); width: 30px; height: 22px; box-sizing: content-box; padding: 11px 7px; margin: -11px -7px; }
.cth-nav .bricks-mobile-menu-toggle .bar-top,
.cth-nav .bricks-mobile-menu-toggle .bar-center,
.cth-nav .bricks-mobile-menu-toggle .bar-bottom { background: var(--cth-bone); width: 30px; height: 2px; }
.cth-nav .bricks-mobile-menu-wrapper { background: var(--cth-black); background-image: var(--cth-noise); width: 100%; justify-content: center; }
.cth-nav .bricks-mobile-menu-wrapper:before { background: transparent; }
.cth-nav .bricks-mobile-menu > li > a {
	font: 800 40px/1.1 var(--cth-display); text-transform: uppercase; color: var(--cth-bone); padding: 10px 32px;
}
.cth-nav .bricks-mobile-menu > .current-menu-item > a { color: var(--cth-gold); }
.cth-nav .bricks-mobile-menu-overlay { background: rgba(0, 0, 0, .6); }

/* ---------- hero ---------- */
.cth-hero { position: relative; min-height: 880px; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; overflow: hidden; padding: 210px 0 96px; background: var(--cth-black); }
.cth-hero--page { min-height: 620px; padding-bottom: 84px; }
.cth-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cth-hero__bg img, .cth-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; animation: cth-kenburns 18s ease-out both; }
.cth-hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(15, 15, 16, .93) 0%, rgba(15, 15, 16, .72) 40%, rgba(15, 15, 16, .12) 74%),
		linear-gradient(0deg, rgba(15, 15, 16, .96) 0%, transparent 42%);
}
.cth-hero--page .cth-hero__bg::after {
	background:
		linear-gradient(90deg, rgba(15, 15, 16, .94) 0%, rgba(15, 15, 16, .78) 45%, rgba(15, 15, 16, .35) 100%),
		linear-gradient(0deg, rgba(15, 15, 16, .95) 0%, transparent 50%);
}
.cth-hero__title { margin: 22px 0 10px; max-width: 9.5em; }
.cth-hero--page .cth-hero__title { font-size: clamp(52px, 7vw, 104px); max-width: 11em; }
.cth-hero .cth-lede { margin-top: 22px; }
.cth-hero__badge {
	position: absolute; right: max(var(--cth-gutter), (100% - var(--cth-wrap)) / 2); bottom: 96px; z-index: 2;
	width: auto; text-align: right; font: 600 12px/1.9 var(--cth-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--cth-grey);
}
.cth-hero__badge strong { color: var(--cth-bone); display: block; font: 700 34px/1.05 var(--cth-display); letter-spacing: .02em; }
.cth-crumb { font: 600 12px/1 var(--cth-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cth-grey); margin-top: 26px; }
.cth-crumb a { color: var(--cth-gold); text-decoration: none; }

/* blueprint elevation drawing (svg injected by site.js) */
.cth-elevation { position: absolute; right: -1%; bottom: 0; width: min(780px, 56%); z-index: 1; pointer-events: none; opacity: .2; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 62%); mask-image: linear-gradient(to bottom, transparent 0%, #000 62%); }
.cth-elevation svg { width: 100%; height: auto; display: block; overflow: visible; }
.cth-elevation .e-h, .cth-elevation .e-m, .cth-elevation .e-l { fill: none; stroke: var(--cth-gold-lt); stroke-linecap: square; }
.cth-elevation .e-h { stroke-width: 1.7; }
.cth-elevation .e-m { stroke-width: 1.1; }
.cth-elevation .e-l { stroke-width: .7; }
.cth-elevation .e-dash { stroke-dasharray: 3 4; }
.cth-elevation text { fill: var(--cth-gold-lt); font: 600 10px var(--cth-sans); letter-spacing: .16em; }
.cth-bone .cth-elevation { opacity: .13; }
.cth-bone .cth-elevation .e-h, .cth-bone .cth-elevation .e-m, .cth-bone .cth-elevation .e-l { stroke: var(--cth-black); }
.cth-bone .cth-elevation text { fill: var(--cth-black); }
/* CTA band: smaller sheet, fading out toward the text */
.cth-elevation--cta { right: max(var(--cth-gutter), (100% - var(--cth-wrap)) / 2); top: 50%; bottom: auto; transform: translateY(-50%); width: min(560px, 38%); opacity: .42; -webkit-mask-image: none; mask-image: none; }
/* draw-in: outline first, then trim, then siding and dimensions; labels fade in last */
.cth-js .cth-elevation :is(.e-h, .e-m, .e-l):not(.e-dash) { stroke-dasharray: var(--len, 1400); stroke-dashoffset: var(--len, 1400); }
.cth-js .cth-elevation :is(text, .e-dash) { opacity: 0; }
.cth-js .cth-elevation.is-drawing .e-h { animation: cth-draw 2.6s ease forwards; }
.cth-js .cth-elevation.is-drawing .e-m { animation: cth-draw 2.4s .7s ease forwards; }
.cth-js .cth-elevation.is-drawing .e-l:not(.e-dash) { animation: cth-draw 2.2s 1.3s ease forwards; }
.cth-js .cth-elevation.is-drawing :is(text, .e-dash) { animation: cth-fade 1s 2.6s ease forwards; }
@keyframes cth-fade { to { opacity: 1; } }

/* ---------- tape measure divider ---------- */
.cth-tape { position: relative; height: 42px; overflow: hidden; background: linear-gradient(var(--cth-gold-lt), var(--cth-gold) 40%, var(--cth-gold-dk)); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); }
.cth-tape__ticks {
	position: absolute; inset: 0; width: 200%; animation: cth-slide 40s linear infinite;
	background:
		repeating-linear-gradient(90deg, #141414 0 1.5px, transparent 1.5px 10px) top / 100% 9px no-repeat,
		repeating-linear-gradient(90deg, #141414 0 2px, transparent 2px 50px) top / 100% 16px no-repeat,
		repeating-linear-gradient(90deg, #141414 0 2px, transparent 2px 100px) top / 100% 24px no-repeat;
}
.cth-tape__words {
	position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: flex-end; padding-bottom: 6px; margin: 0;
	white-space: nowrap; font: 800 14px/1 var(--cth-display); letter-spacing: .3em; color: #141414; word-spacing: .6em;
	animation: cth-slide 40s linear infinite;
}

/* ---------- section heads ---------- */
.cth-head { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 70px; }
.cth-head--stack { flex-direction: column; align-items: flex-start; gap: 18px; }
.cth-head .cth-h2 { margin-top: 0; }

/* ---------- service rows ---------- */
.cth-svc { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 480px; margin-bottom: 28px; background: var(--cth-graphite); position: relative; overflow: hidden; scroll-margin-top: 110px; }
.cth-svc:nth-child(even of .cth-svc) { grid-template-columns: 1fr 1.25fr; }
.cth-svc:nth-child(even of .cth-svc) .cth-svc__pic { order: 2; }
.cth-svc__pic { position: relative; overflow: hidden; min-height: 320px; }
.cth-svc__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--cth-ease); }
.cth-svc:hover .cth-svc__pic img { transform: scale(1.04); }
.cth-svc__txt { padding: 56px 56px 52px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; }
.cth-svc__num { position: absolute; top: 22px; right: 34px; font: 800 130px/1 var(--cth-display); color: transparent; -webkit-text-stroke: 1px rgba(224, 174, 28, .3); margin: 0; pointer-events: none; }
.cth-svc__txt p { color: #c2bfb9; max-width: 32em; }
.cth-chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; padding: 0; }
.cth-chips li { font: 600 12px/1 var(--cth-sans); letter-spacing: .14em; text-transform: uppercase; padding: 10px 12px; border: 1px solid var(--cth-steel); color: var(--cth-mist); }
.cth-bone .cth-chips li { border-color: #c9c4ba; color: #3a3d42; }

/* drafting corner marks */
.cth-marks::before, .cth-marks::after { content: ""; position: absolute; z-index: 2; width: 34px; height: 34px; border: 2px solid var(--cth-gold); opacity: .9; pointer-events: none; }
.cth-marks::before { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.cth-marks::after { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

/* ---------- split (text + media) ---------- */
.cth-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.cth-split--rev { grid-template-columns: 1.1fr 1fr; }
.cth-split--rev > :first-child { order: 2; }
.cth-split__media { position: relative; }
.cth-split__media img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: 0 40px 80px -30px #000; }
.cth-split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.cth-split__text .cth-h2 { margin: 18px 0 24px; }

/* ---------- before / after ---------- */
.cth-compare { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; user-select: none; touch-action: pan-y; box-shadow: 0 40px 80px -30px #000; width: 100%; }
.cth-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cth-compare__after { clip-path: inset(0 0 0 var(--x, 50%)); }
.cth-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--cth-gold); transform: translateX(-1px); z-index: 3; pointer-events: none; }
.cth-compare__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: var(--cth-gold); color: var(--cth-black); display: grid; place-items: center; font-size: 22px; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.cth-compare__lbl { position: absolute; top: 18px; z-index: 3; font: 700 12px/1 var(--cth-sans); letter-spacing: .2em; padding: 9px 12px; background: rgba(15, 15, 16, .82); color: var(--cth-bone); }
.cth-compare__lbl--l { left: 18px; }
.cth-compare__lbl--r { right: 18px; background: var(--cth-gold); color: var(--cth-black); }
.cth-compare input[type=range] { position: absolute; inset: 0; opacity: 0; cursor: ew-resize; width: 100%; height: 100%; margin: 0; z-index: 4; }

/* ---------- pillars ---------- */
.cth-pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--cth-steel); border-left: 1px solid var(--cth-steel); }
.cth-pillars--2 { grid-template-columns: repeat(2, 1fr); }
.cth-pillar { padding: 38px 32px 40px; border-right: 1px solid var(--cth-steel); border-bottom: 1px solid var(--cth-steel); position: relative; transition: background .4s; }
.cth-pillar:hover { background: rgba(224, 174, 28, .05); }
.cth-pillar::before { content: ""; position: absolute; top: -4px; left: -4px; width: 7px; height: 7px; background: var(--cth-gold); }
.cth-pillar__n { font: 800 15px/1 var(--cth-display); color: var(--cth-gold); letter-spacing: .2em; margin: 0; }
.cth-pillar__t { font: 700 28px/1.05 var(--cth-display); text-transform: uppercase; margin: 16px 0 10px; }
.cth-pillar p { color: var(--cth-grey); font-size: 16px; margin: 0; }
.cth-bone .cth-pillars, .cth-bone .cth-pillar { border-color: #cfc9be; }
.cth-bone .cth-pillar p { color: #55585d; }
.cth-bone .cth-pillar__n { color: var(--cth-gold-dk); }
.cth-bone .cth-pillar::before { background: var(--cth-gold-dk); }

/* ---------- process steps ---------- */
.cth-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.cth-steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--cth-gold) 0 10px, transparent 10px 18px); opacity: .6; }
.cth-step { position: relative; padding-right: 28px; }
.cth-step__n { width: 64px; height: 64px; display: grid; place-items: center; background: var(--cth-black); border: 2px solid var(--cth-gold); font: 800 24px/1 var(--cth-display); color: var(--cth-gold); position: relative; z-index: 1; margin: 0 0 26px; }
.cth-step__t { font: 700 26px/1.05 var(--cth-display); text-transform: uppercase; margin: 0 0 10px; }
.cth-step p { color: var(--cth-grey); font-size: 16px; margin: 0; }

/* ---------- project cards (query loop) ---------- */
.cth-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cth-projects--2 { grid-template-columns: repeat(2, 1fr); }
.cth-card { position: relative; display: block; overflow: hidden; background: var(--cth-graphite); text-decoration: none; color: var(--cth-bone); }
.cth-card__img { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
.cth-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--cth-ease), filter .6s; filter: saturate(.95); }
.cth-card:hover .cth-card__img img { transform: scale(1.06); filter: saturate(1.05); }
.cth-card__body { padding: 24px 26px 28px; border-top: 3px solid var(--cth-gold); position: relative; }
.cth-card__type { font: 600 12px/1 var(--cth-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cth-gold); margin: 0 0 10px; }
.cth-card__title { font: 700 30px/1.02 var(--cth-display); text-transform: uppercase; margin: 0; }
.cth-card__meta { color: var(--cth-grey); font-size: 15px; margin: 8px 0 0; }
.cth-card__body::after { content: "→"; position: absolute; right: 24px; bottom: 26px; color: var(--cth-gold); font-size: 22px; transition: transform .35s var(--cth-ease); }
.cth-card:hover .cth-card__body::after { transform: translateX(6px); }

/* ---------- project single ---------- */
.cth-facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--cth-steel); margin-bottom: 64px; }
.cth-fact { padding: 26px 28px; border-right: 1px solid var(--cth-steel); }
.cth-fact:last-child { border-right: 0; }
.cth-fact__k { font: 600 12px/1 var(--cth-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cth-gold); margin: 0 0 10px; }
.cth-fact__v { font: 700 26px/1.1 var(--cth-display); text-transform: uppercase; margin: 0; }
.cth-feature-img { position: relative; width: 100%; }
.cth-feature-img img { width: 100%; height: auto; max-height: 780px; object-fit: cover; display: block; }
.cth-list { margin-top: 26px; }
.cth-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cth-list li { position: relative; padding-left: 34px; color: #d2cfc9; }
.cth-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 18px; height: 2px; background: var(--cth-gold); }

/* ---------- contact ---------- */
.cth-cta { position: relative; overflow: hidden; padding: 96px 0; }
.cth-cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1.15fr); column-gap: 48px; row-gap: 30px; align-items: center; }
.cth-cta__grid > :first-child { grid-row: 1 / span 2; }
.cth-cta__item { grid-column: 2; }
.cth-cta__item { display: flex; flex-direction: column; align-items: flex-start; }
.cth-cta__k { font: 700 12px/1 var(--cth-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cth-gold-dk); margin: 0 0 10px; }
.cth-cta__v { font: 700 30px/1.1 var(--cth-display); letter-spacing: .02em; color: var(--cth-black); text-decoration: none; word-break: break-word; transition: color .25s; }
a.cth-cta__v:hover { color: var(--cth-gold-dk); }
.cth-contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cth-contact-card { background: var(--cth-graphite); padding: 40px 38px; position: relative; display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--cth-bone); transition: transform .45s var(--cth-ease), background .4s; }
a.cth-contact-card:hover { transform: translateY(-4px); background: #2a2c30; }
.cth-contact-card::before { content: ""; position: absolute; top: 0; left: 0; width: 60px; height: 3px; background: var(--cth-gold); transition: width .5s var(--cth-ease); }
.cth-contact-card:hover::before { width: 100%; }
.cth-contact-card__k { font: 700 12px/1 var(--cth-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--cth-gold); margin: 0 0 16px; }
.cth-contact-card__v { font: 700 clamp(26px, 2.6vw, 38px)/1.08 var(--cth-display); text-transform: none; letter-spacing: .01em; margin: 0; word-break: break-word; }
.cth-contact-card__s { color: var(--cth-grey); font-size: 15px; margin: 10px 0 0; }

/* ---------- footer ---------- */
.cth-footer { background: var(--cth-black); position: relative; overflow: hidden; padding: 90px 0 0; border-top: 6px solid var(--cth-gold); }
.cth-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 70px; }
.cth-footer .cth-logo { display: inline-block; }
.cth-footer .cth-logo img { height: 70px; filter: none; }
.cth-footer__about { color: var(--cth-grey); font-size: 15px; max-width: 26em; margin: 30px 0 0; }
.cth-footer__h { font: 700 14px/1 var(--cth-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--cth-gold); margin: 6px 0 22px; }
.cth-footer__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cth-footer__links a, .cth-footer a.cth-footer__link { color: var(--cth-mist); text-decoration: none; transition: color .2s; }
.cth-footer__links a:hover, .cth-footer a.cth-footer__link:hover { color: var(--cth-gold-lt); }
.cth-footer__txt { color: var(--cth-mist); font-size: 16px; margin: 0 0 10px; display: block; }
.cth-footer__bar { border-top: 1px solid var(--cth-steel); padding: 26px 0 30px; display: flex; flex-direction: row; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; letter-spacing: .08em; color: #7d8187; }
.cth-footer__bar p { margin: 0; }

/* footer menu reuses the Bricks nav-menu element, stacked */
.cth-footer__links .bricks-nav-menu { flex-direction: column; gap: 12px; padding: 0; margin: 0; }
.cth-footer__links .bricks-nav-menu > li { margin: 0; }
.cth-footer__links .bricks-nav-menu > li > a { color: var(--cth-mist); font-size: 16px; padding: 0; }
.cth-footer__links .bricks-nav-menu > li > a:hover { color: var(--cth-gold-lt); }

/* ---------- 404 ---------- */
.cth-404 { min-height: 100vh; }

/* ---------- reveal on scroll (only when site.js is running) ---------- */
.cth-js .r { opacity: 0; transform: translateY(34px); transition: opacity 1s ease, transform 1s var(--cth-ease); }
.cth-js .r.in { opacity: 1; transform: none; }
.cth-js .r.d1 { transition-delay: .12s; }
.cth-js .r.d2 { transition-delay: .24s; }
.cth-js .r.d3 { transition-delay: .36s; }

/* ---------- keyframes ---------- */
@keyframes cth-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes cth-grow { from { transform: scaleX(0); } }
@keyframes cth-slide { to { transform: translateX(-50%); } }
@keyframes cth-draw { to { stroke-dashoffset: 0; } }

/* ---------- responsive (Bricks breakpoints: 991 / 767 / 478) ---------- */
@media (max-width: 1200px) {
	.cth-pillars { grid-template-columns: repeat(2, 1fr); }
	.cth-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
	:root { --cth-gutter: 24px; }
	.cth-header__cta { display: none !important; }
	.cth-hero__badge { display: none; }
	.cth-svc, .cth-svc:nth-child(even of .cth-svc) { grid-template-columns: 1fr; }
	.cth-svc:nth-child(even of .cth-svc) .cth-svc__pic { order: 0; }
	.cth-svc__pic { aspect-ratio: 16 / 10; min-height: 0; }
	.cth-split, .cth-split--rev, .cth-cta__grid { grid-template-columns: 1fr; gap: 48px; }
	.cth-split--rev > :first-child { order: 0; }
	.cth-projects { grid-template-columns: 1fr 1fr; }
	.cth-steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
	.cth-steps::before { display: none; }
	.cth-section { padding: 100px 0; }
	.cth-elevation { width: 90%; opacity: .18; }
	.cth-facts { grid-template-columns: 1fr; }
	.cth-fact { border-right: 0; border-bottom: 1px solid var(--cth-steel); }
	.cth-fact:last-child { border-bottom: 0; }
}
@media (max-width: 767px) {
	:root { --cth-gutter: 16px; }
	body { font-size: 16px; }
	.cth-header__inner { padding-top: 16px; }
	.cth-logo img { height: 52px; }
	.cth-scrolled .cth-header__inner { padding-top: 10px; padding-bottom: 10px; }
	.cth-scrolled .cth-logo img { height: 40px; }
	.cth-hero { min-height: 760px; padding: 170px 0 64px; }
	.cth-hero--page { min-height: 540px; }
	.cth-hero__bg img, .cth-hero__img { object-position: 58% center; }
	.cth-hero__bg::after { background: linear-gradient(0deg, rgba(15, 15, 16, .97) 0%, rgba(15, 15, 16, .78) 55%, rgba(15, 15, 16, .3) 100%); }
	.cth-lede { font-size: 17px; }
	.cth-section { padding: 80px 0; }
	.cth-head { margin-bottom: 48px; }
	.cth-svc__txt { padding: 36px 24px; }
	.cth-svc__num { font-size: 90px; right: 16px; }
	.cth-projects, .cth-projects--2, .cth-pillars, .cth-pillars--2, .cth-contact-cards, .cth-footer__grid, .cth-steps { grid-template-columns: 1fr; }
	.cth-pillar { padding: 30px 24px; }
	.cth-contact-card { padding: 30px 24px; }
	.cth-cta { padding: 72px 0; }
	.cth-cta__v { font-size: 25px; }
	.cth-btn.bricks-button, .cth-btn { padding: 18px 22px; }
	.cth-elevation { width: 130%; right: -30%; }
	.cth-compare__handle::after { width: 46px; height: 46px; }
	.cth-footer__grid { gap: 40px; }
	/* comfortable tap targets */
	.cth-footer a, .cth-crumb a,
	.cth-footer__links .bricks-nav-menu > li > a { display: inline-block; padding: 8px 0; }
	.cth-more.bricks-button, .cth-more { padding: 12px 0; }
	.cth-cta__v { display: inline-block; padding: 6px 0; }
	.cth-footer__links .bricks-nav-menu, .cth-footer__links ul { gap: 0; }
	.cth-footer__txt { line-height: 1.5; }
}

@media (max-width: 991px) {
	.cth-elevation--cta { display: none; }
	.cth-cta__grid > :first-child { grid-row: auto; }
	.cth-cta__item { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.cth-js .r { opacity: 1; transform: none; }
	.cth-js .cth-elevation :is(.e-h, .e-m, .e-l) { stroke-dashoffset: 0; }
	.cth-js .cth-elevation :is(text, .e-dash) { opacity: 1; }
}
