/* Demo Branding: shared layout. Brand files set the variables. */
body.dx-body { margin: 0; background: var(--bg); }
.dx { --pad: clamp(20px, 5vw, 72px); --max: 1240px; font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.dx *, .dx *::before, .dx *::after { box-sizing: border-box; }
.dx h1, .dx h2, .dx h3, .dx h4 { font-family: var(--display); font-weight: var(--display-weight, 600); line-height: 1.05; margin: 0 0 .5em; letter-spacing: var(--display-tracking, -0.01em); color: inherit; }
.dx p { margin: 0 0 1em; }
.dx a { color: inherit; text-decoration: none; }
.dx img { display: block; max-width: 100%; }
.dx-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.dx-eyebrow { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: inline-block; }
.dx-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: var(--radius-btn, 999px); background: var(--accent); color: var(--on-accent) !important; font-weight: 600; font-size: 15px; letter-spacing: .01em; transition: transform .2s ease, filter .2s ease; }
.dx-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.dx-btn--ghost { background: transparent; color: currentColor !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.dx-link { font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* Nav */
.dx-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.dx-nav .dx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.dx-logo { font-family: var(--display); font-size: 26px; font-weight: var(--display-weight, 600); letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.dx-logo svg { width: 30px; height: 30px; flex: none; }
.dx-menu { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.dx-menu a { opacity: .88; }
.dx-menu a:hover { opacity: 1; }
.dx-nav .dx-btn { padding: 11px 20px; font-size: 14px; }

/* Hero, full bleed photo */
.dx-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; background: #111 var(--hero) center / cover no-repeat; }
.dx-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-shade, linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.72) 100%)); }
.dx-hero > .dx-wrap { position: relative; width: 100%; padding-bottom: clamp(56px, 9vh, 110px); padding-top: 140px; }
.dx-hero h1 { font-size: clamp(48px, 7.4vw, 108px); max-width: 12ch; }
.dx-hero p.dx-lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 52ch; opacity: .9; margin-bottom: 34px; }
.dx-hero .dx-eyebrow { color: var(--hero-eyebrow, var(--accent)); }
.dx-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Sections */
.dx-section { padding: clamp(72px, 10vw, 136px) 0; }
.dx-section--alt { background: var(--bg-alt); }
.dx-section--dark { background: var(--dark); color: var(--on-dark); }
.dx-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.dx-head h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: 16ch; margin: 0; }
.dx-head p { max-width: 44ch; margin: 0; opacity: .78; }
.dx-intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.dx-intro h2 { font-size: clamp(34px, 4.2vw, 58px); }
.dx-intro .dx-body-copy { font-size: 19px; opacity: .85; }

/* Cards */
.dx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.dx-card { background: var(--card, transparent); border-radius: var(--radius, 6px); overflow: hidden; display: flex; flex-direction: column; }
.dx-card-img { aspect-ratio: 4 / 3; background: #222 center / cover no-repeat; border-radius: var(--radius, 6px); transition: transform .5s ease; }
.dx-card:hover .dx-card-img { transform: scale(1.02); }
.dx-card-body { padding: 22px 4px 8px; }
.dx-card h3 { font-size: 28px; margin-bottom: 8px; }
.dx-card p { opacity: .75; margin-bottom: 14px; font-size: 16px; }
.dx-meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--accent); }

/* Split feature */
.dx-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.dx-split--flip > :first-child { order: 2; }
.dx-split-img { aspect-ratio: 5 / 4; background: #222 center / cover no-repeat; border-radius: var(--radius, 6px); }
.dx-split h2 { font-size: clamp(34px, 4.2vw, 58px); }
.dx-list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.dx-list li { display: flex; gap: 14px; align-items: baseline; }
.dx-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }

/* Stats */
.dx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 40px; margin-top: 64px; }
.dx-stat strong { display: block; font-family: var(--display); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; font-weight: var(--display-weight, 600); margin-bottom: 10px; }
.dx-stat span { font-size: 14px; opacity: .7; }

/* Quote */
.dx-quote { text-align: center; max-width: 900px; margin: 0 auto; }
.dx-quote blockquote { margin: 0 0 28px; font-family: var(--display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2; font-style: var(--quote-style, normal); }
.dx-quote cite { font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

/* CTA band */
.dx-cta { background: var(--accent); color: var(--on-accent); padding: clamp(64px, 8vw, 112px) 0; }
.dx-cta .dx-wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.dx-cta h2 { font-size: clamp(36px, 4.8vw, 68px); max-width: 14ch; margin: 0; }
.dx-cta .dx-btn { background: var(--on-accent); color: var(--accent) !important; }

/* Footer */
.dx-footer { background: var(--dark); color: var(--on-dark); padding: 80px 0 36px; font-size: 15px; }
.dx-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.dx-footer h4 { font-family: var(--body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; font-weight: 600; margin-bottom: 18px; }
.dx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dx-footer a { opacity: .85; }
.dx-footer a:hover { opacity: 1; }
.dx-footer .dx-logo { margin-bottom: 18px; }
.dx-footer-blurb { opacity: .7; max-width: 34ch; }
.dx-footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 64px; padding-top: 26px; font-size: 13px; opacity: .6; }

@media (max-width: 960px) {
	.dx-menu { display: none; }
	.dx-intro, .dx-split { grid-template-columns: 1fr; }
	.dx-split--flip > :first-child { order: 0; }
	.dx-cards { grid-template-columns: 1fr; }
	.dx-stats { grid-template-columns: repeat(2, 1fr); }
	.dx-footer-grid { grid-template-columns: 1fr 1fr; }
}
