/* Kim Bespoke: champagne details, ink typography and warm editorial paper. */
.kim-popup-link,
button.kim-popup-link {
 display: inline; margin: 0; padding: 0; min-height: 0; border: 0; border-radius: 0;
 background: none !important; box-shadow: none !important; color: #C2976A !important;
 font: inherit; font-weight: 700; line-height: inherit; letter-spacing: inherit;
 text-transform: none; text-decoration: none; vertical-align: baseline; cursor: pointer;
 text-underline-offset: .3em; text-decoration-thickness: 1px;
}
.kim-popup-link:hover { text-decoration: underline; }
.kim-popup-link:focus-visible { outline: 2px solid #C2976A; outline-offset: 4px; }

/* Full editorial content remains inline at its source position without JS. */
dialog.kim-popup {
 --kim-popup-paper: #faf7f2;
 --kim-popup-ink: #2e3c51;
 --kim-popup-gold: #c2976a;
 --kim-popup-rule: rgb(194 151 106 / 42%);
 --kim-popup-gutter: 64px;
 position: static; inset: auto; width: 100%; max-width: 880px; height: auto; max-height: none;
 margin: 24px 0; padding: 0; border: 0; background: transparent; color: var(--kim-popup-ink);
 font-family: "Jost", "Montserrat", sans-serif; font-size: 16px; font-weight: 400;
 text-align: left; text-transform: none; letter-spacing: normal; box-sizing: border-box;
}
dialog.kim-popup:not([open]) { display: none; }
.kim-popup__panel {
 position: relative; width: 100%; min-width: 0; box-sizing: border-box;
 background: var(--kim-popup-paper); color: var(--kim-popup-ink);
 border: 1px solid var(--kim-popup-rule); border-radius: 2px;
}
.kim-popup__content {
 padding: 40px var(--kim-popup-gutter); line-height: 1.85;
 overflow-wrap: anywhere; text-wrap: pretty;
}
.kim-popup__content :where(h1,h2,h3,h4,h5,h6) {
 color: var(--kim-popup-ink); font-family: "Cormorant Garamond", Georgia, serif;
 font-weight: 500; line-height: 1.18; letter-spacing: -.015em; text-transform: none;
 margin-top: 1.1em; margin-bottom: .55em; text-wrap: balance;
}
.kim-popup__content :where(h1) { font-size: clamp(32px, 3.5vw, 44px); }
.kim-popup__content :where(h2) { font-size: clamp(30px, 3vw, 38px); }
.kim-popup__content :where(h3) { font-size: clamp(25px, 2.5vw, 30px); }
.kim-popup__content :where(h4) { font-size: 24px; }
.kim-popup__content :where(h5,h6) { font-size: 21px; }
.kim-popup__content :where(p,ul,ol,figure,table) { margin-bottom: 1.25em; }
.kim-popup__content > :first-child { margin-top: 0; }
.kim-popup__content > :last-child { margin-bottom: 0; }
.kim-popup__content :where(ul,ol) { padding-left: 1.25em; }
.kim-popup__content :where(li) { margin-left: 0; padding-left: .25em; margin-bottom: .45em; }
.kim-popup__content li::marker { color: #967047; }
.kim-popup__content :where(blockquote) {
 margin: 1.5em 0; padding: .2em 0 .2em 24px; border-left: 1px solid var(--kim-popup-gold);
 color: var(--kim-popup-ink); font-family: "Cormorant Garamond", Georgia, serif;
 font-size: 26px; font-weight: 500; font-style: normal; line-height: 1.4;
}
.kim-popup__content :where(hr) { border: 0; border-top: 1px solid var(--kim-popup-rule); margin: 2em 0; }
.kim-popup__content :where(img,video) { max-width: 100%; height: auto; border-radius: 0; }
.kim-popup__content iframe { max-width: 100%; }
.kim-popup__content .wp-caption { max-width: 100%; }
.kim-popup__content pre { max-width: 100%; overflow: auto; white-space: pre-wrap; }
.kim-popup__content :where(figcaption,.wp-caption-text) { margin-top: .65em; font-size: 12px; line-height: 1.6; color: #666b70; }
.kim-popup__content table { display: block; max-width: 100%; overflow-x: auto; }
.kim-popup__content :where(th,td) { border-bottom: 1px solid var(--kim-popup-rule); padding: 12px 16px; }
.kim-popup__content a:not(.kim-popup-link) {
 color: var(--kim-popup-ink); text-decoration: underline; text-decoration-color: #ae8253;
 text-decoration-thickness: 1px; text-underline-offset: .25em;
}
.kim-popup__content a:not(.kim-popup-link):hover { color: #86603c; }
button.kim-popup__close { display: none; }

/* Native top layer keeps the original DOM/heading order and escapes theme clipping. */
html.kim-popup-enhanced dialog.kim-popup[open] {
 display: flex; position: fixed; inset: 0; z-index: 999999;
 width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none;
 margin: 0; padding: 40px 24px; align-items: center; justify-content: center;
 overflow: hidden; background: transparent; visibility: visible;
}
.kim-popup::backdrop {
 background: rgb(22 29 39 / 68%);
 -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
html.kim-popup-enhanced dialog.kim-popup.is-suspended[open] { visibility: hidden; }
.kim-popup.is-suspended::backdrop { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.kim-popup-enhanced .kim-popup__panel {
 display: flex; flex-direction: column; max-width: 880px;
 max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px);
 padding-top: 60px; overflow: hidden;
 box-shadow: 0 28px 80px rgb(14 20 29 / 24%), 0 4px 16px rgb(14 20 29 / 10%);
 animation: kim-popup-enter 220ms ease-out both;
}
html.kim-popup-enhanced .kim-popup__panel::before {
 content: ""; position: absolute; top: 32px; left: var(--kim-popup-gutter);
 width: 48px; height: 1px; background: var(--kim-popup-gold); pointer-events: none;
}
html.kim-popup-enhanced .kim-popup__content {
 min-height: 0; padding-top: 4px; padding-bottom: 48px;
 overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
 scrollbar-width: thin; scrollbar-color: #c9b79e var(--kim-popup-paper);
 scrollbar-gutter: stable;
}
html.kim-popup-enhanced .kim-popup__content::-webkit-scrollbar { width: 6px; height: 6px; }
html.kim-popup-enhanced .kim-popup__content::-webkit-scrollbar-thumb { background: #c9b79e; border-radius: 0; }
html.kim-popup-enhanced .kim-popup__content::-webkit-scrollbar-track { background: var(--kim-popup-paper); }
html.kim-popup-enhanced button.kim-popup__close {
 display: flex; position: absolute; z-index: 1; top: 12px; right: 16px;
 width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0;
 align-items: center; justify-content: center; box-sizing: border-box;
 border: 1px solid transparent; border-radius: 0; background: transparent;
 box-shadow: none; color: var(--kim-popup-ink); font: 25px/1 Arial, sans-serif;
 letter-spacing: normal; text-transform: none; cursor: pointer;
 transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
html.kim-popup-enhanced button.kim-popup__close:hover {
 color: #86603c; border-color: var(--kim-popup-rule); background: rgb(194 151 106 / 7%);
}
.kim-popup :focus-visible { outline: 2px solid #967047; outline-offset: 4px; }
html.kim-popup-active, html.kim-popup-active body { overflow: hidden !important; }
@keyframes kim-popup-enter {
 from { opacity: 0; transform: translateY(8px); }
 to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 849px) {
 dialog.kim-popup { --kim-popup-gutter: 40px; }
}
@media (max-width: 549px) {
 dialog.kim-popup { --kim-popup-gutter: 24px; font-size: 15px; }
 html.kim-popup-enhanced dialog.kim-popup[open] { padding: 12px; }
 html.kim-popup-enhanced .kim-popup__panel { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding-top: 58px; }
 html.kim-popup-enhanced .kim-popup__content { padding-bottom: 28px; }
 html.kim-popup-enhanced .kim-popup__panel::before { top: 30px; width: 36px; }
 html.kim-popup-enhanced button.kim-popup__close { top: 8px; right: 8px; }
 .kim-popup__content :where(blockquote) { padding-left: 18px; font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
 html.kim-popup-enhanced .kim-popup__panel { animation: none; }
 html.kim-popup-enhanced button.kim-popup__close { transition: none; }
}

/* Editable compositions. All text and images already exist in the PHP response. */
.kim-popup__content *, .kim-popup__content *::before, .kim-popup__content *::after { box-sizing: border-box; }
.kim-popup__content :where(div,section,figure,figcaption,li) { min-width: 0; }
.kim-popup__content .kim-popup__eyebrow,
.kim-popup__content .kim-popup__small-label {
 font-family: "Jost", "Montserrat", sans-serif; font-weight: 500; color: #967047;
 font-size: 10px; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase;
 margin: 0 0 13px;
}
.kim-popup__content .kim-popup__small-label { margin-top: 24px; margin-bottom: 12px; }
.kim-popup__content .kim-popup__title {
 font: 500 clamp(30px, 3vw, 38px)/1.12 "Cormorant Garamond", Georgia, serif;
 letter-spacing: -.02em; margin: 0 0 24px; max-width: 780px; color: var(--kim-popup-ink);
}
.kim-popup__intro { max-width: 740px; }
.kim-popup__rich > :first-child, .kim-popup__intro > :first-child { margin-top: 0; }
.kim-popup__rich > :last-child, .kim-popup__intro > :last-child { margin-bottom: 0; }
.kim-popup__intro:has(+ *) { margin-bottom: 24px; }
.kim-popup__rich { font-size: 14px; line-height: 1.85; }
.kim-popup__content .kim-popup__item-title { font: 500 28px/1.18 "Cormorant Garamond", Georgia, serif; letter-spacing: -.015em; margin: 0 0 12px; }
.kim-popup__number { display: block; margin-bottom: 12px; font: 400 22px/1.2 "Cormorant Garamond", Georgia, serif; color: #a57849; }
html.kim-popup-enhanced :is(.kim-popup--reasons,.kim-popup--process) > .kim-popup__panel { max-width: 1000px; }
.kim-popup__reasons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 44px; margin-top: 32px; }
.kim-popup__item { border-top: 1px solid var(--kim-popup-rule); padding-top: 17px; }
.kim-popup__reasons > :only-child { grid-column: 1 / -1; }
html.kim-popup-enhanced :is(.kim-popup--service,.kim-popup--offerings,.kim-popup--gallery) > .kim-popup__panel { max-width: 1080px; }
dialog.kim-popup:is(.kim-popup--service,.kim-popup--offerings) { --kim-popup-gutter: 38px; }
.kim-popup__service-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 42px; align-items: start; }
.kim-popup__content .kim-popup__portrait { margin: 0; position: sticky; top: 0; }
.kim-popup__portrait img { display: block; width: 100%; aspect-ratio: 3/4.2; object-fit: cover; }
.kim-popup__portrait--top img { object-position: center top; }
.kim-popup__portrait--center img { object-position: center; }
.kim-popup__portrait--bottom img { object-position: center bottom; }
.kim-popup__editorial .kim-popup__title { font-size: 36px; margin-bottom: 20px; }
.kim-popup__editorial .kim-popup__intro { font-size: 15px; line-height: 1.8; }
.kim-popup__benefit { font: 500 23px/1.4 "Cormorant Garamond", Georgia, serif; border-left: 1px solid var(--kim-popup-gold); padding-left: 18px; margin: 14px 0 22px; }
.kim-popup__benefit > :last-child { margin-bottom: 0; }
.kim-popup__content .kim-popup__bullets { font-size: 14px; margin: 0; padding-left: 18px; }
.kim-popup__bullets > li { margin: 0 0 16px; padding: 0; }
.kim-popup__step-title { font-weight: 500; margin: 0 0 6px; }
.kim-popup__offerings > .kim-popup__item { padding: 20px 0; }
.kim-popup__offerings > :last-child { padding-bottom: 0; }
.kim-popup__offerings .kim-popup__number { font-size: 18px; margin-bottom: 8px; }
.kim-popup__offerings .kim-popup__item-title { font-size: 24px; margin-bottom: 10px; }
.kim-popup__journey-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 38px; margin-top: 32px; align-items: start; }
.kim-popup__content .kim-popup__journey { list-style: none; padding: 0; margin: 0; }
.kim-popup__journey > li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 17px; border-top: 1px solid var(--kim-popup-rule); margin: 0; padding: 20px 0; }
.kim-popup__journey > li:last-child { padding-bottom: 0; }
.kim-popup__journey .kim-popup__number { font-size: 25px; margin-top: 1px; }
.kim-popup__journey .kim-popup__item-title { font-size: 27px; line-height: 1.15; margin-bottom: 10px; }
.kim-popup__journey-layout .kim-popup__portrait img { aspect-ratio: 3/4.8; }
.kim-popup__layout--no-image { grid-template-columns: minmax(0,1fr); }
/* Without JS every customer and caption is visible in normal document flow. */
.kim-popup__content .kim-popup__slide { margin: 0 0 28px; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 36px; align-items: center; }
.kim-popup__slide img { height: clamp(280px,49vh,530px); width: 100%; object-fit: contain; background: #eee9e1; }
.kim-popup__slide figcaption { font-size: 15px; color: var(--kim-popup-ink); line-height: 1.9; margin: 0; }
.kim-popup__slide--image-only { grid-template-columns: minmax(0,1fr) !important; }
.kim-popup__gallery-controls { display: none; }
.kim-popup__gallery.is-ready .kim-popup__gallery-viewport { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -2px; }
.kim-popup__gallery.is-ready .kim-popup__gallery-viewport::-webkit-scrollbar { display: none; }
.kim-popup__gallery.is-ready .kim-popup__slide { flex: 0 0 100%; width: 100%; min-width: 0; scroll-snap-align: start; margin: 0; }
.kim-popup__gallery.is-ready .kim-popup__gallery-controls { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 24px; }
.kim-popup__gallery-controls button {
 width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 1px solid var(--kim-popup-rule);
 border-radius: 0; box-shadow: none; background: none; color: var(--kim-popup-ink); font: 22px/1 Arial,sans-serif; cursor: pointer; letter-spacing: normal;
}
.kim-popup__gallery-controls button:disabled { opacity: .3; cursor: default; }
.kim-popup__gallery-count { font-size: 11px; letter-spacing: .14em; color: #967047; }
@media (max-width: 1050px) { .kim-popup__service-layout { gap: 28px; } .kim-popup__journey-layout { gap: 24px; } }
@media (max-width: 800px) {
 .kim-popup__service-layout, .kim-popup__journey-layout { grid-template-columns: minmax(0,1fr); }
 .kim-popup__content .kim-popup__portrait { position: static; }
 .kim-popup__service-layout .kim-popup__portrait img { aspect-ratio: 2.2; max-height: 260px; }
 .kim-popup__editorial .kim-popup__title { font-size: 32px; }
 .kim-popup__journey-layout .kim-popup__portrait { display: none; }
 .kim-popup__content .kim-popup__slide { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .kim-popup__slide img { height: 40vh; }
}
@media (max-width: 549px) {
 dialog.kim-popup:is(.kim-popup--service,.kim-popup--offerings) { --kim-popup-gutter: 24px; }
 .kim-popup__reasons { grid-template-columns: minmax(0,1fr); gap: 22px; margin-top: 24px; }
 .kim-popup__reasons .kim-popup__item-title { font-size: 27px; }
 .kim-popup__service-layout { gap: 22px; }
 .kim-popup__service-layout .kim-popup__portrait img { aspect-ratio: 1.7; }
 .kim-popup__editorial .kim-popup__title { font-size: 31px; }
 .kim-popup__journey > li { grid-template-columns: 27px minmax(0,1fr); gap: 12px; }
 .kim-popup__journey .kim-popup__item-title { font-size: 25px; }
 .kim-popup__slide img { height: 34vh; }
 .kim-popup__gallery.is-ready .kim-popup__gallery-controls { margin-top: 16px; }
 .kim-popup__content .kim-popup__slide { gap: 12px; }
 .kim-popup__slide figcaption .kim-popup__rich { font-size: 13px; line-height: 1.65; }
 .kim-popup__content .kim-popup__eyebrow { font-size: 9px; }
}
@media print {
 html.kim-popup-enhanced dialog.kim-popup { display: block !important; position: static !important; width: 100% !important; height: auto !important; padding: 0 !important; visibility: visible !important; }
 html.kim-popup-enhanced .kim-popup__panel { max-height: none; overflow: visible; box-shadow: none; animation: none; }
 html.kim-popup-enhanced .kim-popup__content { overflow: visible; }
 html.kim-popup-enhanced button.kim-popup__close, .kim-popup__gallery.is-ready .kim-popup__gallery-controls { display: none; }
 .kim-popup__gallery.is-ready .kim-popup__gallery-viewport { display: block; overflow: visible; }
 .kim-popup__gallery.is-ready .kim-popup__slide { margin-bottom: 28px; }
}

