/* Homepage sections (front page only). The hero background follows its photo's studio backdrop (shortcode `bg`). */
:root { --djx-sand: #e9d9c6; --djx-ink: #1f1f1f; --djx-gold: #b49934; --djx-muted: #5c5650; }

.djx-hero { display: grid; grid-template-columns: 1fr; background: var(--djx-hero-bg, var(--djx-sand)); color: var(--djx-ink); }
.djx-hero[style] .djx-kicker { color: #7b4f22; } /* custom warm backdrop: gold would be too faint (contrast ~2:1) */
.djx-hero .djx-hero__media img { display: block; width: 100%; height: 44vh; min-height: 280px; object-fit: cover; object-position: center 18%; } /* phones: headline + buttons above the fold */
.djx-hero__text { padding: 22px 20px 28px; }
.djx-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 7.5vw, 56px); line-height: 1.05; font-weight: 600; letter-spacing: -0.01em; color: var(--djx-ink); }
.djx-hero__lead { margin: 0 0 20px; font-size: 16px; line-height: 1.55; max-width: 34ch; color: var(--djx-muted); }
.djx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 900px) {
	.djx-hero { grid-template-columns: 1fr 1fr; align-items: center; min-height: 78vh; }
	.djx-hero__media { order: 2; height: 100%; }
	.djx-hero .djx-hero__media img { height: 100%; max-height: 86vh; aspect-ratio: auto; }
	.djx-hero__text { padding: 64px clamp(32px, 6vw, 96px); }
	.djx-hero__lead { font-size: 18px; }
}

.djx-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--djx-gold); }
.djx-h2 { margin: 0 0 20px; font-size: clamp(24px, 4.5vw, 34px); font-weight: 600; line-height: 1.15; text-align: center; color: var(--djx-ink); }
.djx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: var(--djx-ink); color: #fff !important; border: 1px solid var(--djx-ink); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.djx-btn:hover { background: transparent; color: var(--djx-ink) !important; }
.djx-btn--ghost { background: transparent; color: var(--djx-ink) !important; }
.djx-btn--ghost:hover { background: var(--djx-ink); color: #fff !important; }
.djx-link { font-weight: 600; color: var(--djx-ink); text-decoration: underline; text-underline-offset: 4px; }

/* Reassurance strip */
.djx-strip { list-style: none; margin: 0; padding: 18px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; border-bottom: 1px solid #e7e2dc; }
.djx-strip a { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.35; color: var(--djx-ink); text-decoration: none; }

@media (min-width: 900px) { .djx-strip { grid-template-columns: repeat(4, auto); justify-content: center; gap: 40px; padding: 20px; } }

/* Category tiles */
.djx-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.djx-tile { position: relative; display: block; overflow: hidden; background: var(--djx-sand); color: #fff; text-decoration: none; }
.djx-tile:first-child { grid-column: 1 / -1; }
.djx-tiles .djx-tile img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
.djx-tiles .djx-tile:first-child img { aspect-ratio: 4 / 3; object-position: center 25%; }
.djx-tile:hover img { transform: scale(1.03); }
.djx-tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgb(0 0 0 / 55%)); font-size: 17px; font-weight: 600; line-height: 1.2; }
.djx-tile__label small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: .9; }

@media (min-width: 900px) { .djx-tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } .djx-tile:first-child { grid-column: auto; } .djx-tiles .djx-tile:first-child img { aspect-ratio: 3 / 4; } }

/* Brand story */
.djx-story { max-width: 640px; margin: 0 auto; padding: 8px 20px; text-align: center; }
.djx-story p:not(.djx-kicker) { font-size: 16px; line-height: 1.7; color: var(--djx-muted); }
