/*
 * Agrawal Jewellers — WordPress theme stylesheet.
 *
 * This is a real custom theme built for WordPress: content comes from CPTs,
 * ACF fields, and the Customizer, and this file styles it using the site's
 * actual brand system (colors extracted from the live agrawaljewellers.com
 * logo/header, typography matching the live site's Libre Baskerville + Arimo).
 * It does NOT port the old static site's markup/CSS/JS wholesale — this is a
 * from-scratch, lean stylesheet in the spirit of the brand, not a copy of it.
 */

@font-face {
	font-family: "Libre Baskerville";
	font-style: normal;
	font-weight: 400 700;
	src: url("../fonts/libre-baskerville-400.woff2") format("woff2");
	font-display: swap;
}
@font-face {
	font-family: "Libre Baskerville";
	font-style: italic;
	font-weight: 400;
	src: url("../fonts/libre-baskerville-400italic.woff2") format("woff2");
	font-display: swap;
}
@font-face {
	font-family: "Arimo";
	font-style: normal;
	font-weight: 400 700;
	src: url("../fonts/arimo-400.woff2") format("woff2");
	font-display: swap;
}

:root {
	--navy: #1e1a35;
	--navy-deep: #15122a;
	--paper: #fafafa;
	--paper-raised: #ffffff;
	--blue: #22aeec;
	--violet: #5b4b96;
	--mauve: #7d4f63;
	--mauve-soft: #a8788f;
	--gold: #b8902c;
	--gold-bright: #d9b45a;
	--ink: #221f2e;
	--slate: #6b6878;
	--border: #e7e4ee;

	--font-display: "Libre Baskerville", Georgia, serif;
	--font-body: "Arimo", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;

	--container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--violet); text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }

.aj-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.aj-section { padding: 72px 0; }
.aj-section--tight { padding: 48px 0; }
.aj-section--dark { background: var(--navy); color: #fff; }
.aj-section--dark h1, .aj-section--dark h2, .aj-section--dark h3 { color: #fff; }
.aj-section--raised { background: var(--paper-raised); }

.aj-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--gold);
}
.aj-eyebrow .rule { width: 28px; height: 1px; background: var(--gold); }

.aj-sec-title { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.aj-sec-title h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; }
.aj-sec-title p { color: var(--slate); margin: 12px 0 0; }
.aj-sec-title--left { text-align: left; margin-left: 0; }

/* Two-line section heading: small flanked eyebrow, then a large bold
   headline, then an optional subtext — the site's recurring title pattern
   (Our Edge as a / WHOLESALER, Wholesale Ordering on / YOUR FINGERTIPS, etc). */
.aj-sec-title2 { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.aj-eyebrow2 {
	display: flex; align-items: center; justify-content: center; gap: 14px;
	font-family: var(--font-body);
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: #8891a8;
}
.aj-eyebrow2__rule { width: 34px; height: 1px; background: #8891a8; flex-shrink: 0; }
.aj-headline2 {
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
	margin: 10px 0 0;
	line-height: 1.15;
}
.aj-sec-title2 p { color: var(--slate); margin: 14px 0 0; font-size: 15px; }
.aj-section--dark .aj-eyebrow2 { color: #a9b0c4; }
.aj-section--dark .aj-eyebrow2__rule { background: #a9b0c4; }
.aj-section--dark .aj-headline2 { color: #fff; }
.aj-section--dark .aj-sec-title2 p { color: #cfc9de; }

.aj-btn {
	display: inline-block;
	padding: 13px 28px;
	font-family: var(--font-body);
	font-size: 14px; font-weight: 700; letter-spacing: .02em;
	color: #fff;
	background: linear-gradient(120deg, var(--gold), var(--gold-bright));
	border: none; border-radius: 3px;
	cursor: pointer;
}
.aj-btn--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.4);
}

/* ===================== HEADER ===================== */
.aj-header {
	position: relative;
	background: #fff;
	border-bottom: 1px solid var(--border);
}
.aj-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}
.aj-header__logo img { height: 42px; width: auto; }

.aj-nav { display: flex; }
.aj-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.aj-nav > ul > li { position: relative; }
.aj-nav a {
	color: var(--navy); text-decoration: none;
	font-size: 14px; font-weight: 700;
}
.aj-nav > ul > li > a { padding: 10px 0; display: inline-block; }
/* Simple submenus (e.g. About Us) — direct-child only, so this never matches
   the megamenu's column <ul>s nested inside .aj-mega (a <div>, two levels down). */
.aj-nav > ul > li > ul {
	display: none;
	position: absolute; top: 100%; left: 0;
	background: #fff; border: 1px solid var(--border);
	box-shadow: 0 12px 28px rgba(21,18,42,.1);
	min-width: 210px; max-height: 360px; overflow-y: auto;
	padding: 10px 0; margin: 0; flex-direction: column; gap: 0;
	z-index: 40;
}
.aj-nav > ul > li:hover > ul { display: flex; }
.aj-nav > ul > li > ul li { padding: 0; }
.aj-nav > ul > li > ul a { display: block; padding: 9px 18px; font-weight: 400; white-space: nowrap; }
.aj-nav > ul > li > ul a:hover { background: var(--paper); color: var(--gold); }
.aj-mega {
	display: none;
	position: absolute; top: 100%; left: 0;
	background: #fff; border: 1px solid var(--border); box-shadow: 0 12px 28px rgba(21,18,42,.1);
	min-width: 640px; max-height: 360px; overflow-y: auto;
	padding: 20px; margin: 0;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px 24px;
	z-index: 40;
}
.aj-nav > ul > li:hover > .aj-mega { display: grid; }
.aj-mega ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.aj-mega li { padding: 0; }
.aj-mega a { display: block; padding: 6px 0; font-size: 13px; font-weight: 400; color: var(--ink); }
.aj-mega a:hover { color: var(--gold); }

.aj-header__toggle {
	display: none;
	background: none; border: none; cursor: pointer;
	flex-direction: column; gap: 4px; padding: 6px;
}
.aj-header__toggle span { width: 22px; height: 2px; background: var(--navy); display: block; }

/* Sticky header — one element, one fixed height, no layout jump */
.aj-header--sticky {
	position: fixed; top: 0; left: 0; right: 0;
	z-index: 100;
	transform: translateY(-100%);
	transition: transform .3s ease;
	box-shadow: 0 4px 16px rgba(21,18,42,.08);
}
.aj-header--sticky.is-visible { transform: translateY(0); }
.aj-header--sticky .aj-header__logo img { height: 34px; }
.aj-header--sticky .aj-header__inner { padding: 10px 24px; }

@media (max-width: 900px) {
	.aj-nav { display: none; }
	.aj-header__toggle { display: flex; }
}

/* Mobile menu drawer */
.aj-mobile-menu {
	position: fixed; inset: 0; z-index: 200;
	display: none;
}
.aj-mobile-menu.is-open { display: block; }
.aj-mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(21,18,42,.5); }
.aj-mobile-menu__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(320px, 86vw);
	background: #fff;
	padding: 24px;
	overflow-y: auto;
}
.aj-mobile-menu__close { background: none; border: none; font-size: 22px; cursor: pointer; float: right; }
.aj-mobile-menu ul { list-style: none; margin: 40px 0 0; padding: 0; }
.aj-mobile-menu li { border-bottom: 1px solid var(--border); }
.aj-mobile-menu a { display: block; padding: 12px 0; color: var(--navy); font-weight: 700; }
.aj-mobile-menu ul ul { margin: 0 0 0 14px; }
.aj-mobile-menu ul ul a { font-weight: 400; padding: 8px 0; }

/* ===================== FOOTER ===================== */
.aj-footer { background: var(--navy); color: #fff; }
.aj-footer__inner { max-width: var(--container); margin: 0 auto; padding: 56px 24px 28px; }
.aj-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.aj-footer__logo img { height: 34px; margin-bottom: 16px; }
.aj-footer__about { color: #cfc9de; font-size: 14px; line-height: 1.7; }
.aj-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.aj-footer__list { list-style: none; margin: 0; padding: 0; }
.aj-footer__list li { margin-bottom: 10px; font-size: 14px; color: #cfc9de; }
.aj-footer__list a { color: #cfc9de; }
.aj-footer__list a:hover { color: var(--gold-bright); }
.aj-footer__social { display: flex; gap: 12px; list-style: none; margin: 18px 0 0; padding: 0; }
.aj-footer__social a {
	display: flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	background: rgba(255,255,255,.1); color: #fff;
}
.aj-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	margin-top: 40px; padding-top: 20px;
	font-size: 13px; color: #9d97b3; text-align: center;
}
@media (max-width: 800px) {
	.aj-footer__grid { grid-template-columns: 1fr; }
}

/* ===================== CAROUSEL (shared component) ===================== */
.aj-carousel { position: relative; }
.aj-carousel__viewport { overflow: hidden; }
.aj-carousel__track { display: flex; transition: transform .6s ease; }
.aj-carousel__slide { flex: 0 0 100%; }
.aj-carousel__slide img { -webkit-user-drag: none; }
/* While a drag is in progress, stop the browser from turning the drag into
   a text/image selection instead of a carousel swipe. */
.aj-carousel__viewport.is-dragging,
.aj-carousel__viewport.is-dragging * {
	user-select: none;
	-webkit-user-select: none;
}
.aj-carousel--peek .aj-carousel__slide { flex: 0 0 auto; }
.aj-carousel__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%;
	background: #fff; border: 1px solid var(--border);
	font-size: 18px; color: var(--navy); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	z-index: 2;
}
.aj-carousel__arrow--prev { left: -20px; }
.aj-carousel__arrow--next { right: -20px; }
.aj-carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.aj-carousel__dots button {
	width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(30,26,53,.35);
	background: transparent; padding: 0; cursor: pointer;
}
.aj-carousel__dots button.is-active { background: var(--gold); border-color: var(--gold); }

/* ===================== LIGHTBOX ===================== */
.aj-lightbox {
	position: fixed; inset: 0; z-index: 300;
	display: none;
	align-items: center; justify-content: center;
	background: rgba(15,13,26,.92);
	padding: 40px;
}
.aj-lightbox.is-open { display: flex; }
.aj-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 4px; }
.aj-lightbox__close {
	position: absolute; top: 24px; right: 28px;
	background: none; border: none; color: #fff; font-size: 30px; cursor: pointer;
}
.aj-lightbox__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(255,255,255,.12); border: none; color: #fff;
	width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer;
}
.aj-lightbox__nav--prev { left: 24px; }
.aj-lightbox__nav--next { right: 24px; }

/* ===================== HERO SLIDER (homepage banner) ===================== */
.hero-slider { position: relative; height: min(640px, 82vh); overflow: hidden; background: var(--navy); }
.hero-slider__slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity .7s ease; display: flex; align-items: center;
}
.hero-slider__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slider__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slider__wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,249,252,.94) 0%, rgba(250,249,252,.75) 42%, rgba(250,249,252,.15) 68%, rgba(250,249,252,0) 100%); }
.hero-slider__slide[data-theme="mauve"] .hero-slider__wash { background: linear-gradient(90deg, rgba(253,246,248,.94) 0%, rgba(253,246,248,.75) 42%, rgba(253,246,248,.15) 68%, rgba(253,246,248,0) 100%); }
.hero-slider__slide[data-theme="gold"] .hero-slider__wash { background: linear-gradient(90deg, rgba(250,248,245,.94) 0%, rgba(250,248,245,.75) 42%, rgba(250,248,245,.15) 68%, rgba(250,248,245,0) 100%); }
.hero-slider__slide[data-theme="blue"] .hero-slider__wash { background: linear-gradient(90deg, rgba(240,250,255,.94) 0%, rgba(240,250,255,.75) 42%, rgba(240,250,255,.15) 68%, rgba(240,250,255,0) 100%); }
.hero-slider__slide[data-theme="navy"] .hero-slider__bg { background-color: var(--navy); }
.hero-slider__slide[data-theme="navy"] .hero-slider__wash { background: linear-gradient(115deg, var(--navy) 0%, #2a2450 100%); }
.hero-slider__content { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 48px; }
.hero-slider__inner { max-width: 560px; }
.hero-slider__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero-slider__rule { width: 28px; height: 1px; background: var(--gold); }
.hero-slider__slide[data-theme="violet"] .hero-slider__eyebrow { color: var(--violet); }
.hero-slider__slide[data-theme="violet"] .hero-slider__rule { background: var(--violet); }
.hero-slider__slide[data-theme="mauve"] .hero-slider__eyebrow { color: var(--mauve-soft); }
.hero-slider__slide[data-theme="mauve"] .hero-slider__rule { background: var(--mauve-soft); }
.hero-slider__slide[data-theme="navy"] .hero-slider__eyebrow { color: var(--gold-bright); }
.hero-slider__slide[data-theme="navy"] .hero-slider__rule { background: var(--gold-bright); }
.hero-slider__slide[data-theme="blue"] .hero-slider__eyebrow { color: var(--blue); }
.hero-slider__slide[data-theme="blue"] .hero-slider__rule { background: var(--blue); }
.hero-slider__headline { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.5vw, 68px); line-height: 1.05; margin: 16px 0 0; color: var(--ink); }
.hero-slider__slide[data-theme="violet"] .hero-slider__headline { color: var(--violet); font-style: italic; font-weight: 400; }
.hero-slider__slide[data-theme="mauve"] .hero-slider__headline { color: var(--mauve); }
.hero-slider__slide[data-theme="navy"] .hero-slider__headline { color: #fff; }
.hero-slider__slide[data-theme="blue"] .hero-slider__headline { color: var(--blue); }
.hero-slider__subtitle { font-family: var(--font-display); font-size: clamp(17px, 2vw, 22px); color: var(--ink); margin: 14px 0 0; line-height: 1.4; }
.hero-slider__slide[data-theme="navy"] .hero-slider__subtitle { color: #d6d2e2; font-family: var(--font-body); font-size: 16px; font-weight: 400; }
.hero-slider__cta { display: inline-block; margin-top: 28px; padding: 13px 26px; font-family: var(--font-body); font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(120deg, var(--gold), var(--gold-bright)); border-radius: 3px; text-decoration: none; }
.hero-slider__stores { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-slider__store-badge {
	display: flex; align-items: center; gap: 10px;
	background: #fff; color: var(--navy);
	padding: 10px 18px; border-radius: 4px;
	text-decoration: none;
}
.hero-slider__store-badge svg { flex-shrink: 0; width: 22px; height: 22px; }
.hero-slider__store-badge span { line-height: 1.25; }
.hero-slider__store-badge small { display: block; font-size: 10px; color: var(--slate); }
.hero-slider__store-badge strong { font-size: 14px; }
.hero-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.85); border: none; font-size: 22px; line-height: 1; color: var(--navy); cursor: pointer; z-index: 2; }
.hero-slider__arrow--prev { left: 20px; }
.hero-slider__arrow--next { right: 20px; }
.hero-slider__dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.hero-slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(30,26,53,.35); background: transparent; padding: 0; cursor: pointer; }
.hero-slider__dots button.is-active { background: var(--gold); border-color: var(--gold); }

/* ===================== HOMEPAGE SECTIONS ===================== */
.aj-about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.aj-about__text p { color: var(--slate); line-height: 1.8; }
.aj-about__image img { border-radius: 8px; }
@media (max-width: 800px) { .aj-about { grid-template-columns: 1fr; } }

.aj-collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.aj-collection-card { position: relative; overflow: hidden; aspect-ratio: 4/5; display: block; }
.aj-collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 5s ease; }
.aj-collection-card:hover img { transform: scale(1.5); }
.aj-collection-card::after {
	content: ''; position: absolute; inset: 0;
	box-shadow: inset 0 -160px 90px -40px rgba(15,13,26,.75);
	pointer-events: none;
}
.aj-collection-card__label {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 18px 26px 24px; color: #fff; z-index: 1;
}
.aj-collection-card__label p {
	position: relative; display: inline-block;
	margin: 0 0 6px; padding-right: 50px;
	font-size: 13px; letter-spacing: .03em;
}
.aj-collection-card__label p::before {
	content: ''; position: absolute; top: 9px; right: 0;
	width: 36px; height: 2px; background: var(--gold-bright);
}
.aj-collection-card__label h3 { color: #fff; font-size: 21px; font-weight: 400; text-transform: uppercase; margin: 0; font-family: var(--font-display); letter-spacing: .01em; }

/* Our Collection as a single-row draggable carousel (the original has no
   nav arrows/dots at all — drag/swipe is the only way to browse it). */
.aj-collection-carousel .aj-carousel__slide.aj-collection-card {
	flex: 0 0 calc(25% - 18px);
	margin-right: 24px;
	aspect-ratio: 4/5;
}
@media (max-width: 900px) { .aj-collection-carousel .aj-carousel__slide.aj-collection-card { flex-basis: calc(50% - 12px); } }
@media (max-width: 560px) { .aj-collection-carousel .aj-carousel__slide.aj-collection-card { flex-basis: 78%; } }

/* Full-bleed CTA band — edge to edge, text anchored bottom-left over the photo. */
.aj-cta-band {
	position: relative;
	min-height: 420px;
	background-size: cover;
	background-position: center;
	background-color: var(--navy);
	display: flex;
	align-items: flex-end;
}
.aj-cta-band::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(21,18,42,.82) 0%, rgba(21,18,42,.35) 55%, rgba(21,18,42,.05) 100%);
}
.aj-cta-band__outer {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-top: 56px;
	padding-bottom: 64px;
}
.aj-cta-band__content {
	/* Half the container's content width, per design — .aj-container itself
	   already handles lining this section up with the rest of the page's
	   left edge, so this only needs to control the text column's own size. */
	max-width: 50%;
}
@media (max-width: 700px) {
	.aj-cta-band__content { max-width: 100%; }
}
.aj-cta-band__content h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.aj-cta-band__content p { color: #d6d2e2; margin: 12px 0 24px; }

.aj-affiliations { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; opacity: .75; }
.aj-affiliations img { max-height: 46px; width: auto; filter: grayscale(1); }

.aj-blog-filter { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 36px; padding: 0; }
.aj-blog-filter a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 9px 18px; border: 1px solid var(--border); border-radius: 30px;
	font-size: 14px; font-weight: 600; color: var(--slate);
}
.aj-blog-filter a span { font-size: 12px; font-weight: 400; color: var(--slate); opacity: .75; }
.aj-blog-filter a:hover { border-color: var(--gold); color: var(--navy); }
.aj-blog-filter a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.aj-blog-filter a.is-active span { color: #fff; opacity: .7; }

.aj-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.aj-blog-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.aj-blog-card img { aspect-ratio: 16/10; object-fit: cover; }
.aj-blog-card__body { padding: 20px; }
.aj-blog-card__meta { font-size: 12px; color: var(--slate); margin: 0 0 8px; }
.aj-blog-card__body h3 { font-size: 18px; margin: 0 0 8px; }
.aj-blog-card__body h3 a { color: var(--navy); }
.aj-blog-card__body p { font-size: 14px; color: var(--slate); margin: 0; }

/* Testimonials — full-bleed photo background, single testimonial rolling every 4s. */
.aj-testimonials {
	position: relative;
	background-size: cover;
	background-position: center;
	background-color: var(--navy-deep);
	padding: 80px 0;
}
.aj-testimonials__overlay {
	position: absolute; inset: 0;
	background: rgba(21,18,42,.82);
}
.aj-testimonials__inner { position: relative; z-index: 1; }
.aj-testimonials .aj-eyebrow2 { color: var(--gold-bright); }
.aj-testimonials .aj-eyebrow2__rule { background: var(--gold-bright); }
.aj-testimonials .aj-headline2 { color: #fff; }
.aj-testimonials__carousel { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.aj-testimonials__quote-mark {
	display: block; font-family: Georgia, serif; font-size: 64px; line-height: 1;
	color: rgba(255,255,255,.18); margin-bottom: -10px;
}
.aj-testimonials__slide { flex: 0 0 100%; margin: 0; padding: 0 20px; }
.aj-testimonials__slide p {
	font-family: var(--font-display); font-style: italic;
	font-size: clamp(18px, 2.4vw, 24px); line-height: 1.6; color: #fff; margin: 0 0 22px;
}
.aj-testimonials__name { display: block; font-weight: 700; color: #fff; letter-spacing: .03em; text-transform: uppercase; font-size: 14px; }
.aj-testimonials__company { display: block; font-size: 13px; color: var(--gold-bright); margin-top: 4px; }
.aj-testimonials .aj-carousel__dots button { border-color: rgba(255,255,255,.4); }
.aj-testimonials .aj-carousel__dots button.is-active { background: var(--gold-bright); border-color: var(--gold-bright); }

/* ===================== BRANDS SHOWCASE ===================== */
.aj-brands-showcase { background: var(--navy-deep); }
.aj-brands-showcase .aj-eyebrow2 { color: var(--gold-bright); }
.aj-brands-showcase .aj-eyebrow2__rule { background: var(--gold-bright); }
.aj-brands-showcase .aj-headline2 { color: #fff; }
.aj-brands-showcase .aj-sec-title2 p { color: #cfc9de; }
.aj-brands-showcase .aj-carousel { padding: 0 20px; }
.aj-brands-showcase .aj-carousel--peek .aj-carousel__slide { flex: 0 0 300px; margin-right: 24px; opacity: .5; transform: scale(.9); transition: opacity .5s, transform .5s; }
.aj-brands-showcase .aj-carousel__slide.is-center { opacity: 1; transform: scale(1); }
.aj-brands-showcase .aj-carousel__arrow { background: rgba(255,255,255,.12); border: none; color: #fff; }
.aj-brands-showcase .aj-carousel__arrow--prev { left: 0; }
.aj-brands-showcase .aj-carousel__arrow--next { right: 0; }
.aj-brands-showcase .aj-carousel__dots button { border-color: rgba(255,255,255,.35); }
.aj-brand-card { position: relative; }
.aj-brand-card__media { position: relative; aspect-ratio: 3/4; background-size: cover; background-position: center; border-radius: 10px; overflow: hidden; }
.aj-brand-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,18,42,0) 55%, rgba(21,18,42,.35) 100%); }
.aj-brand-card__label { display: flex; align-items: center; justify-content: center; min-height: 70px; margin-top: 14px; }
.aj-brand-card__logo { max-width: 70%; max-height: 56px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.aj-brand-card__name { color: #fff; font-family: var(--font-display); font-size: 24px; }

/* ===================== BRAND PAGE ===================== */
.aj-brand-hero-section { background: #e9edf0; }
.aj-brand-hero { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.aj-brand-hero__image img { border-radius: 8px; width: 100%; aspect-ratio: 19/20; object-fit: cover; }
.aj-brand-hero__image--offset { margin-top: 44px; }
.aj-brand-hero__center {
	text-align: center;
	/* The grid row stretches to the tallest column (the offset image), so
	   centering the logo+heading block here vertically centers it against
	   the combined height of both side images, not just its own content. */
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.aj-brand-hero__center img { width: 100%; height: auto; }
.aj-brand-hero__center h1 { font-size: 23px; font-weight: 800; text-transform: uppercase; color: #000; margin: 60px 0 0; }
.aj-brand-hero__intro { margin: 40px 0 0; text-align: center; color: #666; line-height: 1.8; }
@media (max-width: 900px) {
	.aj-brand-hero { grid-template-columns: 1fr; }
	.aj-brand-hero__image--offset { margin-top: 0; }
}

.aj-brand-gallery { background: transparent; }
.aj-brand-gallery .aj-sec-title h2 { font-size: 33px; font-weight: 800; color: #000; text-transform: uppercase; }
.aj-brand-gallery-carousel .aj-carousel__slide { flex: 0 0 calc(33.333% - 20px); margin-right: 30px; }
.aj-brand-gallery-carousel .aj-carousel__slide a { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 3/4; }
.aj-brand-gallery-carousel .aj-carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .aj-brand-gallery-carousel .aj-carousel__slide { flex-basis: calc(50% - 15px); } }
@media (max-width: 560px) { .aj-brand-gallery-carousel .aj-carousel__slide { flex-basis: 80%; } }

/* ===================== PAGE HEADER (inner pages) ===================== */
.aj-page-header { background: var(--navy); color: #fff; padding: 56px 24px; text-align: center; }
.aj-page-header h1 { color: #fff; margin: 0; }
.aj-page-header__crumb { margin: 10px 0 0; font-size: 13px; color: #a89fc4; }
.aj-page-header__crumb a { color: #cfc9de; }
.aj-page-header__updated { margin: 10px 0 0; font-size: 13px; color: #a89fc4; }
.aj-page-body--narrow { max-width: 760px; margin: 0 auto; line-height: 1.85; color: var(--slate); }
.aj-page-body--narrow h2 { color: var(--navy); font-size: 19px; margin: 34px 0 10px; }
.aj-page-body--narrow h2:first-child { margin-top: 0; }
.aj-page-body--narrow strong { color: var(--ink); }

/* ===================== PRODUCT CATEGORY PAGE ===================== */
.aj-product-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.aj-product-sidebar { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.aj-product-sidebar ul { list-style: none; margin: 0; padding: 0; }
.aj-product-sidebar li { border-bottom: 1px solid var(--border); }
.aj-product-sidebar li:last-child { border-bottom: none; }
.aj-product-sidebar a { display: block; padding: 12px 18px; font-size: 14px; color: var(--ink); }
.aj-product-sidebar a:hover { background: var(--paper); color: var(--gold); }
.aj-product-sidebar li.is-current a { background: var(--navy); color: #fff; }
.aj-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.aj-product-grid a { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1/1; }
.aj-product-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .aj-product-layout { grid-template-columns: 1fr; } }

/* ===================== WHY AJ / GENERIC PAGE CONTENT ===================== */
.aj-page-body { max-width: 900px; margin: 0 auto; }
.aj-page-body h2 { font-size: 26px; margin: 48px 0 8px; }
.aj-page-body h2:first-child { margin-top: 0; }
.aj-page-body .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0; }
.aj-page-body .wp-block-column { flex: 1 1 200px; text-align: center; }
.aj-page-body .wp-block-column img { max-width: 48px; margin: 0 auto 10px; }
.aj-page-body .wp-block-column h3 { font-size: 15px; margin: 0; }
.aj-page-body .wp-block-column p { font-size: 14px; color: var(--slate); }

.aj-post-meta {
	display: flex; flex-wrap: wrap; gap: 24px;
	list-style: none; margin: 0 0 36px; padding: 0 0 28px;
	border-bottom: 1px solid var(--border);
	font-size: 14px; color: var(--slate);
}
.aj-post-meta li { display: flex; align-items: center; gap: 8px; }
.aj-post-meta svg { color: var(--gold); flex-shrink: 0; }

/* ===================== MANAGEMENT PAGE ===================== */
.aj-profile { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; margin-bottom: 80px; }
.aj-profile--reverse { direction: rtl; }
.aj-profile--reverse > * { direction: ltr; }
.aj-profile__photo { position: relative; }
.aj-profile__photo::before {
	content: '';
	position: absolute; top: 20px; left: -20px;
	width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--gold), var(--gold-bright));
	z-index: 0;
}
.aj-profile--reverse .aj-profile__photo::before { left: auto; right: -20px; }
.aj-profile__photo img {
	position: relative; z-index: 1;
	width: 100%; aspect-ratio: 4/5; object-fit: cover;
	display: block; transition: transform .6s ease;
}
.aj-profile__photo:hover img { transform: scale(1.03); }
.aj-profile__title { display: block; color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.aj-profile__name { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 32px); text-transform: uppercase; }
.aj-profile__name::after { content: ''; display: block; width: 60px; height: 2px; background: var(--gold); margin-top: 16px; }
.aj-profile__bio { color: var(--slate); line-height: 1.85; font-size: 15.5px; }
@media (max-width: 760px) {
	.aj-profile, .aj-profile--reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
	.aj-profile__photo { max-width: 320px; margin: 0 auto; }
	.aj-profile__photo::before { display: none; }
}

/* ===================== CONTACT PAGE ===================== */
.aj-contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.aj-contact-info-item { margin-bottom: 24px; }
.aj-contact-info-item h3 { font-size: 15px; margin: 0 0 6px; }
.aj-contact-info-item p, .aj-contact-info-item a { color: var(--slate); font-size: 14px; }
.aj-contact-form { display: flex; flex-direction: column; gap: 16px; }
.aj-contact-form .aj-form-row { display: flex; gap: 16px; }
.aj-contact-form input, .aj-contact-form textarea {
	flex: 1; padding: 13px 16px; border: 1px solid var(--border); border-radius: 4px; font: inherit;
}
.aj-contact-form textarea { min-height: 130px; }
.aj-alert { padding: 14px 18px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; }
.aj-alert--success { background: #eaf7ee; color: #1e7a3a; }
.aj-alert--error { background: #fbeaea; color: #a3241f; }
@media (max-width: 800px) { .aj-contact-layout { grid-template-columns: 1fr; } .aj-contact-form .aj-form-row { flex-direction: column; } }

/* ===================== GALLERY PAGE ===================== */
.aj-gallery-album { margin-bottom: 48px; }
.aj-gallery-album h2 { font-size: 22px; margin-bottom: 20px; }
.aj-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.aj-gallery-grid a { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 1/1; }
.aj-gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== WHY AJ PAGE ===================== */
.aj-edge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
@media (max-width: 900px) { .aj-edge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .aj-edge-grid { grid-template-columns: 1fr; } }
.aj-edge-card { text-align: center; padding: 24px 12px; }
.aj-edge-card__icon { width: 56px; height: 56px; margin: 0 auto 16px; }
.aj-edge-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.aj-edge-card h3 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.4; }

.aj-app-carousel { max-width: 1200px; margin: 0 auto; }
.aj-app-carousel .aj-carousel__slide { flex: 0 0 calc(33.333% - 13.33px); margin-right: 20px; }
@media (max-width: 900px) { .aj-app-carousel .aj-carousel__slide { flex-basis: calc(50% - 10px); } }
@media (max-width: 560px) { .aj-app-carousel .aj-carousel__slide { flex-basis: 80%; } }
.aj-app-card { text-align: center; }
.aj-app-card__media { border-radius: 10px; overflow: hidden; margin-bottom: 14px; aspect-ratio: 9/16; }
.aj-app-card__media img { width: 100%; height: 100%; object-fit: cover; }
.aj-app-card h3 { color: #fff; font-size: 15px; margin: 0; }
.aj-app-carousel .aj-carousel__arrow { background: rgba(255,255,255,.12); border: none; color: #fff; }
.aj-app-carousel .aj-carousel__arrow--prev { left: -10px; }
.aj-app-carousel .aj-carousel__arrow--next { right: -10px; }

/* Infinite marquee — two rows, opposite directions, matches the live site's
   actual behaviour (verified by tracking element position over time). Each
   row's content is rendered twice back-to-back in the template so the loop
   from translateX(0) to translateX(-50%) is seamless. */
.aj-marquee { overflow: hidden; margin-bottom: 14px; }
.aj-marquee__track { display: flex; width: max-content; }
.aj-marquee--left .aj-marquee__track { animation: aj-marquee-left 40s linear infinite; }
.aj-marquee--right .aj-marquee__track { animation: aj-marquee-right 40s linear infinite; }
.aj-marquee:hover .aj-marquee__track { animation-play-state: paused; }
@keyframes aj-marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes aj-marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
	.aj-marquee__track { animation: none !important; }
}
.aj-marquee__item {
	flex: 0 0 auto;
	display: flex; flex-direction: column; align-items: center; text-align: center;
	width: 230px; margin: 0 13px;
	background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 26px 16px;
}
.aj-marquee__icon { width: 52px; height: 52px; margin-bottom: 14px; }
.aj-marquee__icon img { width: 100%; height: 100%; object-fit: contain; }
.aj-marquee__label { font-size: 16px; color: var(--ink); line-height: 1.4; font-weight: 600; }
.aj-process-closing { max-width: 720px; margin: 24px auto 0; text-align: center; color: var(--slate); font-style: italic; line-height: 1.8; }

.aj-quality-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 20px; }
@media (max-width: 900px) { .aj-quality-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .aj-quality-grid { grid-template-columns: 1fr; } }
.aj-quality-card { text-align: center; padding: 8px; }
.aj-quality-card__icon { width: 48px; height: 48px; margin: 0 auto 14px; }
.aj-quality-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.aj-quality-card h3 { font-size: 16px; margin: 0 0 8px; }
.aj-quality-card p { font-size: 14px; color: var(--slate); line-height: 1.7; margin: 0; }

.aj-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.aj-stat__number, .aj-stat__suffix { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 700; color: var(--gold-bright); }
.aj-stat__label { display: block; color: #cfc9de; font-size: 14px; margin-top: 6px; }
@media (max-width: 620px) { .aj-stats__grid { grid-template-columns: 1fr; gap: 32px; } }
