/* ==========================================================================
   Karron Jewelers — homepage ("the lounge")
   Dark tobacco room; the jewelry is the lit object. Delivery is the promise.
   ========================================================================== */

.home .site-content > .ast-container,
.home #primary, .home .ast-article-single, .home .entry-content { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.home .entry-header, .home .ast-breadcrumbs-wrapper { display: none !important; }
.home .site-content { background: var(--kj-tobacco); }
.home .entry-content > p:empty { display: none; }

.kj-home { --gut: clamp(1.25rem, 5vw, 4.5rem); --max: 82rem; color: var(--kj-parchment); font-family: var(--kj-sans); }
.kj-home a { color: inherit; }
.kj-home :where(h1, h2, h3) { font-family: var(--kj-serif) !important; color: inherit; margin: 0; }

/* ---------- Buttons ---------- */
.kj-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.75rem; border-radius: 2px;
	font: 500 1rem/1 var(--kj-sans); letter-spacing: .01em; text-decoration: none !important; border: 1px solid var(--kj-parchment);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.kj-btn--solid { background: var(--kj-parchment); color: var(--kj-tobacco) !important; }
.kj-btn--solid:hover { background: var(--kj-amber); border-color: var(--kj-amber); color: var(--kj-charcoal) !important; }
.kj-btn--line { background: transparent; color: var(--kj-parchment) !important; border-color: rgba(245, 245, 220, .55); }
.kj-btn--line:hover { border-color: var(--kj-amber); color: var(--kj-amber) !important; }
.kj-link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--kj-gold); text-decoration-thickness: 1px; text-underline-offset: .3em; }
.kj-link:hover { text-decoration-color: currentColor; }

.kj-h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 300; line-height: 1.04; letter-spacing: -.01em; font-variation-settings: "opsz" 144; }

/* ---------- Hero ---------- */
.kj-hero {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	grid-template-areas: "copy piece" "areas areas";
	background: linear-gradient(90deg, var(--kj-tobacco) 0 58%, var(--kj-charcoal) 58% 100%);
	min-height: calc(100svh - 76px);
}
.kj-hero__copy { grid-area: copy; align-self: center; padding: clamp(3rem, 8vw, 7rem) var(--gut) clamp(2rem, 5vw, 4rem); max-width: 50rem; }
.kj-hero__title {
	font-size: clamp(3.4rem, 9vw, 8.4rem) !important;
	font-weight: 300 !important;
	line-height: .9 !important;
	letter-spacing: .015em !important;
	font-variation-settings: "opsz" 144, "SOFT" 30;
	color: var(--kj-parchment) !important;
	text-transform: none !important;
}
.kj-hero__lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.6; color: #E9E3C9; max-width: 34rem; margin: clamp(1.5rem, 3vw, 2.4rem) 0 0; }
.kj-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2.2rem 0 0; }

.kj-hero__piece { grid-area: piece; align-self: center; justify-self: center; margin: clamp(2rem, 6vw, 5rem) var(--gut); width: min(100%, 30rem); }
.kj-hero__frame { display: block; background: var(--kj-parchment); padding: clamp(.8rem, 1.6vw, 1.25rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.kj-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; outline: 1px solid rgba(62, 39, 35, .25); outline-offset: -1px; }
.kj-hero__piece figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: .95rem; color: #DCD5BA; }
.kj-hero__piece figcaption a { font-family: var(--kj-serif); font-style: italic; font-size: 1.05rem; text-decoration: none; }
.kj-hero__piece figcaption a:hover { color: var(--kj-amber); }
.kj-hero__piece figcaption .amount { color: var(--kj-parchment); font-weight: 500; white-space: nowrap; }

.kj-areas { grid-area: areas; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(212, 175, 55, .45); background: var(--kj-tobacco); }
.kj-areas__item { padding: 1.4rem var(--gut) 1.6rem; border-left: 1px solid rgba(212, 175, 55, .22); }
.kj-areas__item:first-child { border-left: 0; }
.kj-areas dt { font-size: .95rem; color: #DCD5BA; margin: 0; }
.kj-areas dd { margin: .2rem 0 0; font-family: var(--kj-serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; color: var(--kj-gold); }

/* ---------- Delivery ---------- */
.kj-delivery { background: var(--kj-charcoal); padding: clamp(4.5rem, 10vw, 8.5rem) var(--gut); }
.kj-delivery > * { max-width: var(--max); margin-inline: auto; }
.kj-steps { list-style: none; counter-reset: kjstep; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); padding: 0; margin-top: clamp(2.5rem, 5vw, 4rem); margin-bottom: 0; }
.kj-step { counter-increment: kjstep; border-top: 1px solid rgba(212, 175, 55, .45); padding-top: 1.5rem; }
.kj-step::before { content: counter(kjstep); display: block; font-family: var(--kj-serif); font-weight: 300; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; color: var(--kj-gold); margin-bottom: 1.1rem; font-variation-settings: "opsz" 144; }
.kj-step h3 { font-size: 1.55rem !important; font-weight: 400 !important; margin-bottom: .6rem !important; color: var(--kj-parchment) !important; }
.kj-step p { color: #D9D3B8; line-height: 1.65; margin: 0; max-width: 24rem; }
.kj-delivery__fine { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid rgba(245, 245, 220, .12); color: #BDB69C; font-size: .95rem; }
.kj-delivery__fine a { color: var(--kj-parchment); }

/* ---------- The Karron edit (the display case) ---------- */
.kj-edit { background: var(--kj-parchment); color: var(--kj-charcoal); padding: clamp(4.5rem, 10vw, 8rem) var(--gut); }
.kj-edit > * { max-width: var(--max); margin-inline: auto; }
.kj-edit__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.kj-edit .kj-h2 { color: var(--kj-tobacco); }
.kj-edit .kj-link { color: var(--kj-tobacco); }
.kj-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.25rem) clamp(1rem, 2vw, 1.75rem); }
.kj-card { display: flex; flex-direction: column; text-decoration: none !important; color: var(--kj-charcoal) !important; }
.kj-card__frame { display: block; background: #fff; padding: .6rem; border: 1px solid #DCD6BC; transition: border-color .2s ease; }
.kj-card__img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.kj-card:hover .kj-card__frame { border-color: var(--kj-tobacco); }
.kj-card__name { font-family: var(--kj-serif); font-size: 1.12rem; line-height: 1.3; margin-top: .9rem; color: var(--kj-tobacco); }
.kj-card__price { margin-top: .35rem; font-weight: 500; font-size: .98rem; }
.kj-card__price del { opacity: .6; }

/* ---------- Story ---------- */
.kj-story { background: var(--kj-tobacco); padding: clamp(4.5rem, 10vw, 8.5rem) var(--gut); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.kj-story > * { max-width: 40rem; }
.kj-story__title { font-size: clamp(2.4rem, 5.2vw, 4.4rem) !important; font-weight: 300 !important; line-height: 1.02 !important; font-variation-settings: "opsz" 144; color: var(--kj-parchment) !important; }
.kj-story__body p { font-size: 1.1rem; line-height: 1.75; color: #E3DCC0; margin: 0 0 1.1rem; }
.kj-link--light { color: var(--kj-parchment) !important; }

/* ---------- Questions ---------- */
.kj-faq { background: #FAF8EC; color: var(--kj-charcoal); padding: clamp(4.5rem, 10vw, 8rem) var(--gut); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.kj-faq .kj-h2 { color: var(--kj-tobacco); }
.kj-faq__list { border-top: 1px solid #D9D3BF; }
.kj-faq details { border-bottom: 1px solid #D9D3BF; }
.kj-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 64px; padding: 1rem 0;
	font-family: var(--kj-serif); font-size: 1.3rem; color: var(--kj-tobacco); }
.kj-faq summary::-webkit-details-marker { display: none; }
.kj-faq summary::after { content: ""; flex: 0 0 14px; height: 14px; background:
	linear-gradient(var(--kj-tobacco), var(--kj-tobacco)) center / 14px 1.5px no-repeat,
	linear-gradient(var(--kj-tobacco), var(--kj-tobacco)) center / 1.5px 14px no-repeat; transition: transform .2s ease; }
.kj-faq details[open] summary::after { transform: rotate(45deg); }
.kj-faq details p { margin: 0 0 1.4rem; max-width: 40rem; line-height: 1.7; color: #3A332D; }
.kj-faq__more { grid-column: 2; margin: 1.5rem 0 0; color: #5B5148; }
.kj-faq a { color: var(--kj-tobacco); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.kj-hero { grid-template-columns: 1fr; grid-template-areas: "copy" "piece" "areas"; background: var(--kj-tobacco); min-height: 0; }
	.kj-hero__piece { margin-top: 0; width: min(100% - 2 * var(--gut), 28rem); }
	.kj-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kj-areas__item:nth-child(3) { border-left: 0; }
	.kj-areas__item:nth-child(n+3) { border-top: 1px solid rgba(212, 175, 55, .22); }
	.kj-steps { grid-template-columns: 1fr; }
	.kj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kj-story, .kj-faq { grid-template-columns: 1fr; }
	.kj-faq__more { grid-column: 1; }
}
@media (max-width: 420px) {
	.kj-hero__actions .kj-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .kj-home * { transition: none !important; } }

/* refinements after first look */
.kj-home a { text-decoration: none; }
.kj-home a.kj-link { text-decoration: underline; text-decoration-color: var(--kj-gold); }
.kj-hero__copy { padding-top: clamp(3.5rem, 8vw, 7rem); }
.kj-hero__piece { margin: clamp(2rem, 5vw, 4.5rem) auto; width: calc(100% - 2 * var(--gut)); max-width: 30rem; }
.kj-hero__piece figcaption { align-items: baseline; }
.kj-hero__piece figcaption a { text-decoration: none !important; color: #E9E3C9 !important; font-weight: 400; }
/* full-bleed regardless of theme container */
.kj-home { width: 100vw; position: relative; left: 50%; margin-left: -50vw; overflow-x: clip; }
.home .site-content .ast-container { max-width: none !important; padding: 0 !important; display: block !important; }
.kj-hero { min-height: 0; }
.kj-hero__copy { padding-top: clamp(4.5rem, 9vw, 8rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.kj-home { width: auto; left: auto; margin-left: 0; }
.home .site-content .ast-container > #primary { width: 100% !important; flex: 1 1 100% !important; }
.kj-home > section { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }
.ast-theme-transparent-header .kj-hero { padding-top: var(--kj-header-h, 104px); }
.ast-theme-transparent-header .kj-hero__copy { padding-top: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 921px) { .ast-theme-transparent-header .kj-hero { --kj-header-h: 76px; } }
.kj-home h1, .kj-home h2, .kj-home h3 { text-transform: none !important; }
.kj-home .kj-h2, .kj-home .kj-story__title { font-weight: 300 !important; }
.kj-home .kj-step h3 { font-weight: 400 !important; }
.kj-delivery > *, .kj-edit > * { padding-inline: 0 !important; }
.kj-steps { margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 921px) { .ast-theme-transparent-header .kj-hero { --kj-header-h: 101px; } .kj-hero__copy { padding-bottom: 1.5rem !important; } }
.kj-home p:empty, .kj-home > br, .kj-hero > br, .kj-hero > p:empty { display: none !important; }
.kj-edit__head .kj-link { display: inline-flex; align-items: center; min-height: 44px; }
.kj-areas dd small { font-size: .78em; color: #D9D3B8; margin-left: .15rem; }
