/*
 * James Davis – Site Kit styles. Scoped to body.jd-site and the CSS classes set on Elementor
 * containers/widgets (Advanced → CSS Classes). Colors/fonts mirror Elementor → Site Settings.
 * 1 Tokens 2 Base 3 Header 4 Buttons 5 Sections 6 Cards 7 Property pages 8 About/Services/Contact 9 Blog 10 Footer 11 Responsive 12 Motion
 */
:root {
	--jd-paper: #F7F5F1; --jd-sand: #ECE7DF; --jd-ink: #1F2224; --jd-text: #2B2F31; --jd-muted: #5B5F61;
	--jd-rule: #D8D1C6; --jd-accent: #1D6CB3; --jd-night: #1A1D1F;
	--jd-serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--jd-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--jd-gutter: clamp(20px, 4.5vw, 64px); --jd-max: 1440px; --jd-space: clamp(80px, 10vw, 168px);
	--jd-gap: clamp(14px, 1.6vw, 24px); --jd-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2 Base */
body.jd-site { background: var(--jd-paper); color: var(--jd-text); font-family: var(--jd-sans); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.jd-site a, .jd-site a:hover { color: inherit; }
.jd-site img { max-width: 100%; height: auto; }
.jd-site :focus-visible { outline: 2px solid var(--jd-accent); outline-offset: 3px; }
.jd-site .jd-hero :focus-visible, .jd-site .jd-site-footer :focus-visible, .jd-has-hero .jd-header :focus-visible { outline-color: #fff; }
.jd-site h1, .jd-site h2, .jd-site h3, .jd-site h4 { color: var(--jd-ink); }
.screen-reader-text, .jd-site .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.jd-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--jd-ink); color: #fff !important; padding: 10px 16px; font: 500 .875rem/1 var(--jd-sans); text-decoration: none; }
.jd-skip:focus { top: 12px; }
#jd-main { outline: none; }
.jd-site .elementor .e-con { --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --margin-top: 0; --margin-bottom: 0; }
.jd-site .elementor-widget:not(:last-child) { margin-block-end: 0; }
.jd-site .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.jd-site .jd-wrap { width: min(100% - 2 * var(--jd-gutter), var(--jd-max)); max-width: none; margin-inline: auto; }
.jd-site .jd-wrap--text { width: min(100% - 2 * var(--jd-gutter), 720px); }
.jd-site .jd-eyebrow, .jd-site .jd-eyebrow p { font: 500 .75rem/1.4 var(--jd-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--jd-muted); margin: 0 0 18px; }
.jd-site .jd-eyebrow a { text-decoration: none; }
.jd-site .jd-eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jd-site .jd-lead, .jd-site .jd-lead p { font-family: var(--jd-serif); font-weight: 300; font-size: clamp(1.45rem, 2.3vw, 2.15rem); line-height: 1.32; color: var(--jd-ink); letter-spacing: -.005em; }
.jd-site .jd-lead { margin-bottom: 28px; }

/* 3 Header & navigation */
.jd-site-header { position: relative; z-index: 60; }
.jd-site .jd-header { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--jd-gutter); background: var(--jd-paper); border-bottom: 1px solid var(--jd-rule); }
.jd-site .jd-header > .elementor-widget { width: auto; }
.jd-site .jd-wordmark .elementor-heading-title, .jd-site .jd-wordmark .elementor-heading-title a { font-family: var(--jd-serif); font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: .01em; line-height: 1.2; color: var(--jd-ink); text-decoration: none; white-space: nowrap; }
.jd-has-hero .jd-site-header { position: absolute; top: 0; left: 0; right: 0; }
.admin-bar.jd-has-hero .jd-site-header { top: 32px; }
.jd-site.jd-has-hero .jd-header { background: linear-gradient(to bottom, rgba(12,14,15,.42), rgba(12,14,15,0)); border-bottom: 0; padding-top: 26px; padding-bottom: 48px; }
.jd-site.jd-has-hero .jd-header .jd-wordmark .elementor-heading-title, .jd-site.jd-has-hero .jd-header .jd-wordmark .elementor-heading-title a, .jd-site.jd-has-hero .jd-header .jd-nav__list a, .jd-site.jd-has-hero .jd-header .jd-nav__toggle { color: #fff; }
.jd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.6vw, 40px); }
.jd-nav__list a { position: relative; display: inline-block; padding: 8px 0; font: 500 .78rem/1 var(--jd-sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--jd-ink); }
.jd-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; }
.jd-nav__list a:hover::after, .jd-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.jd-nav__toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 8px; background: none !important; border: 0 !important; color: var(--jd-ink); font: 500 .78rem/1 var(--jd-sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.jd-nav__bars, .jd-nav__bars::before, .jd-nav__bars::after { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; }
.jd-nav__bars::before, .jd-nav__bars::after { content: ""; position: absolute; left: 0; }
.jd-nav__bars::before { top: -7px; }
.jd-nav__bars::after { top: 7px; }
.jd-nav__label { order: -1; }
@media (max-width: 900px) {
	.jd-nav__toggle { display: inline-flex; position: relative; z-index: 2; }
	.jd-nav__panel { position: fixed; inset: 0; z-index: 1; display: flex; align-items: center; padding: 96px var(--jd-gutter) 48px; background: var(--jd-paper); visibility: hidden; opacity: 0; }
	.jd-menu-open .jd-nav__panel { visibility: visible; opacity: 1; }
	.jd-nav__panel .jd-nav__list { flex-direction: column; gap: 6px; }
	.jd-nav__panel .jd-nav__list a { font: 300 clamp(2rem, 8vw, 2.75rem)/1.2 var(--jd-serif); letter-spacing: 0; text-transform: none; color: var(--jd-ink) !important; }
	.jd-menu-open .jd-nav__toggle { color: var(--jd-ink) !important; }
	.jd-menu-open .jd-nav__bars { background: transparent; }
	.jd-menu-open .jd-nav__bars::before { top: 0; transform: rotate(45deg); }
	.jd-menu-open .jd-nav__bars::after { top: 0; transform: rotate(-45deg); }
	.jd-menu-open .jd-wordmark { position: relative; z-index: 2; }
	.jd-site.jd-menu-open .jd-header .jd-wordmark .elementor-heading-title a { color: var(--jd-ink) !important; }
	.jd-menu-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar.jd-has-hero .jd-site-header { top: 46px; } }

/* 4 Buttons */
.jd-site .jd-btn .elementor-button, .jd-site .gform_wrapper .gform_button, .jd-site .gform_wrapper input[type="submit"] { display: inline-flex; align-items: center; gap: 10px; background: var(--jd-ink); color: #fff; border: 1px solid var(--jd-ink); border-radius: 0; padding: 17px 28px; font: 500 .78rem/1 var(--jd-sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.jd-site .jd-btn .elementor-button:hover, .jd-site .gform_wrapper .gform_button:hover { background: var(--jd-accent); border-color: var(--jd-accent); color: #fff; }
.jd-site .jd-btn--ghost .elementor-button { background: transparent; color: var(--jd-ink); }
.jd-site .jd-btn--ghost .elementor-button:hover { background: var(--jd-ink); border-color: var(--jd-ink); color: #fff; }
.jd-site .jd-btn--light .elementor-button { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.jd-site .jd-btn--light .elementor-button:hover { background: #fff; color: var(--jd-ink); border-color: #fff; }
.jd-site .jd-btn--text .elementor-button { background: none; border: 0; padding: 6px 0; color: var(--jd-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.jd-site .jd-btn--text .elementor-button:hover { background: none; color: var(--jd-accent); }
.jd-site .jd-btn--text .elementor-button-text::after { content: " →"; }
.jd-site .jd-actions { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
.jd-site .jd-actions > .elementor-widget { width: auto; }

/* 5 Sections */
.jd-site .jd-hero { position: relative; height: 100svh; min-height: 560px; max-height: 1180px; overflow: hidden; background: var(--jd-night); }
.jd-site .jd-hero__media, .jd-site .jd-hero__media .elementor-widget-container { position: absolute; inset: 0; width: 100%; height: 100%; }
.jd-site .jd-hero__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 58%; }
.jd-site .jd-hero__copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 200px var(--jd-gutter) clamp(44px, 8vh, 96px); background: linear-gradient(to top, rgba(12,14,15,.62) 0%, rgba(12,14,15,.28) 55%, rgba(12,14,15,0) 100%); align-items: flex-start; }
.jd-site .jd-hero__copy > .elementor-widget { width: auto; }
.jd-site .jd-hero .jd-eyebrow p { color: rgba(255,255,255,.88); }
.jd-site .jd-hero__h .elementor-heading-title { font-family: var(--jd-serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.015em; color: #fff; max-width: 13ch; margin: 0 0 32px; text-wrap: balance; }
.jd-site .jd-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.2fr); gap: var(--jd-gap) clamp(32px, 6vw, 96px); padding-block: var(--jd-space); }
.jd-site .jd-intro__body p { max-width: 62ch; }
.jd-site .jd-intro__body .jd-btn--text { margin-top: 18px; }
.jd-site .jd-section-head { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.jd-site .jd-section-head > .elementor-widget { width: auto; }
.jd-site .jd-section-head__h .elementor-heading-title, .jd-site .jd-split__h .elementor-heading-title, .jd-site .jd-invite__h .elementor-heading-title { font-family: var(--jd-serif); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em; margin: 0; }
.jd-site .jd-split__h .elementor-heading-title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); margin-bottom: 20px; }
.jd-site .jd-work { padding-bottom: var(--jd-space); }
.jd-site .jd-band { width: 100%; }
.jd-site .jd-band img { display: block; width: 100%; max-width: none; height: clamp(320px, 64vh, 780px); object-fit: cover; }
.jd-site .jd-approach { padding-block: var(--jd-space); }
.jd-site .jd-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px clamp(24px, 4vw, 64px); }
.jd-site .jd-col { border-top: 1px solid var(--jd-rule); padding-top: 26px; }
.jd-site .jd-col__h .elementor-heading-title { font-family: var(--jd-serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.15; margin: 0 0 14px; }
.jd-site .jd-col p { color: var(--jd-muted); }
.jd-site .jd-invite { background: var(--jd-sand); text-align: center; align-items: center; padding: var(--jd-space) var(--jd-gutter); }
.jd-site .jd-invite__h .elementor-heading-title { max-width: 18ch; margin: 0 auto 18px; text-wrap: balance; }
.jd-site .jd-invite__p p { color: var(--jd-muted); margin-bottom: 32px; }
.jd-site .jd-invite__p a { color: var(--jd-ink); white-space: nowrap; }
.jd-site .jd-invite-slot { width: 100%; }
.jd-site .jd-title { padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(40px, 5vw, 76px); }
.jd-site .jd-title__h .elementor-heading-title, .jd-site h1.jd-title__h, .jd-site .jd-article__title { font-family: var(--jd-serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.03; letter-spacing: -.015em; margin: 0 0 22px; text-wrap: balance; }
.jd-site .jd-title .jd-lead p { font-size: clamp(1.25rem, 1.9vw, 1.7rem); max-width: 40ch; }

/* 6 Cards */
.jd-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(48px, 6vw, 96px) clamp(20px, 3vw, 44px); }
.jd-card { margin: 0; }
.jd-card--wide { grid-column: 1 / -1; }
.jd-card--solo { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(10px, 1.5vw, 22px)); }
.jd-card__link { display: block; text-decoration: none; color: inherit; }
.jd-card__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--jd-sand); }
.jd-card--wide .jd-card__media { aspect-ratio: 2.2 / 1; }
.jd-card__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jd-card__meta { padding-top: 20px; }
.jd-site .jd-card__title { font-family: var(--jd-serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.15; margin: 0 0 6px; color: var(--jd-ink); }
.jd-card--wide .jd-card__title { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.jd-card__sub { margin: 0 0 6px; color: var(--jd-muted); font-size: .9rem; }
.jd-card__cue { display: inline-block; margin-top: 8px; font: 500 .72rem/1 var(--jd-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--jd-muted); }
.jd-card__cue::after { content: " →"; }
.jd-card__link:hover .jd-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.jd-card__link:hover .jd-card__cue { color: var(--jd-ink); }
.jd-site .jd-portfolio { padding-bottom: var(--jd-space); }

/* 7 Property pages & galleries */
.jd-site .jd-phero { position: relative; height: min(90svh, 1180px); min-height: 440px; overflow: hidden; background: var(--jd-night); }
.jd-site .jd-phero__media, .jd-site .jd-phero__media .elementor-widget-container { position: absolute; inset: 0; width: 100%; height: 100%; }
.jd-site .jd-phero__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jd-site .jd-phero--contained { height: auto; min-height: 0; padding: 112px var(--jd-gutter) clamp(32px, 4vw, 56px); }
.jd-site .jd-phero--contained .jd-phero__media, .jd-site .jd-phero--contained .jd-phero__media .elementor-widget-container { position: static; height: auto; }
.jd-site .jd-phero--contained .jd-phero__media img { width: auto; height: auto; max-height: 76svh; max-width: 100%; margin: 0 auto; display: block; object-fit: contain; }
.jd-site .jd-ptitle { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(32px, 4vw, 56px); }
.jd-site .jd-facts { color: var(--jd-muted); margin: 0; }
.jd-site .jd-pnote p { margin: 8px 0 0; font: 500 .75rem/1.4 var(--jd-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--jd-muted); }
.jd-site .jd-stack .gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--jd-gap); margin: 0 !important; }
.jd-site .jd-stack .gallery-item { grid-column: 1 / -1; float: none !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; text-align: center; }
.jd-site .jd-stack .gallery-item:has(.portrait) { grid-column: auto; }
.jd-site .jd-stack .gallery-item.jd-solo { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--jd-gap) / 2) !important; }
.jd-site .jd-stack .gallery-icon a { display: block; cursor: zoom-in; }
.jd-site .jd-stack .gallery-item img { display: block; width: 100%; height: auto; margin: 0 auto; border: 0 !important; background: var(--jd-sand); }
.jd-site .jd-stack .gallery-item.jd-fig--limited img { width: 100%; max-width: min(100%, var(--jd-maxw, 100%)); }
.jd-site .jd-stack br { display: none; }
.jd-site .jd-pgallery { padding-bottom: clamp(48px, 6vw, 96px); }
.jd-pnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding: 28px 0 clamp(56px, 7vw, 112px); border-top: 1px solid var(--jd-rule); }
.jd-pnav a { text-decoration: none; font-weight: 500; }
.jd-pnav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.jd-pnav__label { display: block; font: 500 .72rem/1.4 var(--jd-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--jd-muted); }
.jd-pnav__next { text-align: right; font-family: var(--jd-serif); font-size: 1.35rem; font-weight: 400; }

/* 8 About / Services / Contact */
.jd-site .jd-bio { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 40px clamp(32px, 6vw, 112px); align-items: start; padding-bottom: var(--jd-space); }
.jd-site .jd-portrait img { width: 100%; max-width: 460px; display: block; }
.jd-site .jd-bio__text p { max-width: 62ch; }
.jd-site .jd-split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px clamp(32px, 6vw, 112px); padding-block: var(--jd-space) 0; }
.jd-site .jd-split + .jd-invite-slot, .jd-site .jd-values + .jd-invite-slot { margin-top: var(--jd-space); }
.jd-site .jd-split p { max-width: 60ch; }
.jd-site .jd-values { padding-top: var(--jd-space); }
.jd-values__list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 36px clamp(24px, 4vw, 56px); margin: 0; }
.jd-values__list div { border-top: 1px solid var(--jd-rule); padding-top: 18px; }
.jd-values__list dt { font: 400 1.45rem/1.2 var(--jd-serif); color: var(--jd-ink); margin-bottom: 8px; }
.jd-values__list dd { margin: 0; color: var(--jd-muted); }
.jd-site .jd-process { padding-bottom: clamp(56px, 7vw, 112px); }
.jd-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px clamp(24px, 4vw, 64px); }
.jd-steps li { counter-increment: s; border-top: 1px solid var(--jd-rule); padding-top: 18px; }
.jd-steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 .75rem/1 var(--jd-sans); letter-spacing: .16em; color: var(--jd-muted); margin-bottom: 12px; }
.jd-site .jd-steps h3 { font: 400 1.45rem/1.2 var(--jd-serif); margin: 0 0 8px; }
.jd-steps p { color: var(--jd-muted); margin: 0; }
.jd-checklist { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: clamp(24px, 4vw, 64px); }
.jd-checklist li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--jd-rule); }
.jd-site .jd-contact { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,4fr); gap: 56px clamp(32px, 7vw, 128px); padding-bottom: var(--jd-space); }
.jd-site .jd-contact__h .elementor-heading-title { font: 500 .75rem/1.4 var(--jd-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--jd-muted); margin: 32px 0 8px; }
.jd-site .jd-contact__details > .elementor-widget:first-child .elementor-heading-title { margin-top: 0; }
.jd-site .jd-big-link { font: 300 clamp(1.8rem, 2.6vw, 2.4rem)/1.2 var(--jd-serif); text-decoration: none; color: var(--jd-ink); }
.jd-site .jd-big-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.jd-site .jd-broker-logo img { max-width: 200px; mix-blend-mode: multiply; }
.jd-site .gform_wrapper { margin: 0; }
.jd-site .gform_wrapper .gfield_label, .jd-site .gform_wrapper legend.gfield_label { font: 500 .9rem/1.4 var(--jd-sans) !important; color: var(--jd-ink) !important; margin-bottom: 6px; }
.jd-site .gform_wrapper .gform-field-label--type-sub { font-size: .8rem !important; color: var(--jd-muted) !important; }
.jd-site .gform_wrapper input[type="text"], .jd-site .gform_wrapper input[type="email"], .jd-site .gform_wrapper input[type="tel"], .jd-site .gform_wrapper textarea { width: 100%; background: #fff !important; border: 1px solid #A9A296 !important; border-radius: 0 !important; padding: 13px 14px !important; font: 400 1rem/1.4 var(--jd-sans) !important; color: var(--jd-ink) !important; box-shadow: none !important; min-height: 48px; }
.jd-site .gform_wrapper textarea { min-height: 160px; }
.jd-site .gform_wrapper input:focus, .jd-site .gform_wrapper textarea:focus { outline: 2px solid var(--jd-accent) !important; outline-offset: 1px; border-color: var(--jd-ink) !important; }
.jd-site .gform_wrapper .gfield_required { color: #9B2C1C !important; }
.jd-site .gform_wrapper .gfield_validation_message, .jd-site .gform_wrapper .validation_message { color: #9B2C1C !important; background: none !important; border: 0 !important; padding: 6px 0 0 !important; font-size: .875rem; }
.jd-site .gform_wrapper .gform_validation_errors { border-radius: 0 !important; box-shadow: none !important; }
.jd-site .gform_confirmation_message { font: 300 1.5rem/1.4 var(--jd-serif); color: var(--jd-ink); padding: 24px 0; border-top: 1px solid var(--jd-rule); }

/* 9 Blog */
.jd-site .jd-blog, .jd-site .jd-archive > .jd-wrap { padding-bottom: var(--jd-space); }
.jd-card--post .jd-card__meta .jd-eyebrow { margin-bottom: 10px; }
.jd-card__excerpt { color: var(--jd-muted); margin: 0; max-width: 62ch; }
.jd-card--post.jd-card--wide .jd-card__link { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.jd-card--post.jd-card--wide .jd-card__media { aspect-ratio: 3 / 2; }
.jd-pagination { margin-top: clamp(48px, 6vw, 88px); }
.jd-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; justify-content: center; }
.jd-pagination a, .jd-pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--jd-rule); text-decoration: none; font-weight: 500; }
.jd-pagination .current { background: var(--jd-ink); color: #fff; border-color: var(--jd-ink); }
.jd-article__head { padding-top: clamp(64px, 9vw, 140px); }
.jd-site .jd-article__title { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.jd-article__date { color: var(--jd-muted); margin: 0 0 clamp(32px, 4vw, 56px); }
.jd-article__media { margin: 0 auto clamp(40px, 5vw, 72px); max-width: 1200px; }
.jd-article__media img { width: 100%; display: block; }
.jd-prose { font-size: 1.0625rem; line-height: 1.85; }
.jd-prose > * { max-width: 68ch; }
.jd-site .jd-prose h2 { font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.2 var(--jd-serif); margin: 2.2em 0 .6em; }
.jd-site .jd-prose h3 { font: 500 1.15rem/1.4 var(--jd-sans); margin: 1.8em 0 .5em; }
.jd-prose a { color: var(--jd-accent); text-decoration: underline; text-underline-offset: 3px; }
.jd-prose img { display: block; margin: 2em auto; }
.jd-prose ul, .jd-prose ol { padding-left: 1.25em; }
.jd-prose li { margin-bottom: .5em; }
.jd-prose blockquote { margin: 2em 0; padding-left: 24px; border-left: 2px solid var(--jd-ink); font: 300 1.4rem/1.45 var(--jd-serif); }
.jd-article__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding: 32px 0 var(--jd-space); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--jd-rule); }
.jd-article__nav a { text-decoration: none; font-weight: 500; max-width: 46ch; }
.jd-article__nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* 10 Footer */
.jd-site .jd-footer { background: var(--jd-night); color: #D9D4CB; padding: clamp(64px, 8vw, 120px) var(--jd-gutter) 32px; }
.jd-site .jd-footer a { color: #fff; text-decoration: none; }
.jd-site .jd-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jd-site .jd-footer__top { display: grid; grid-template-columns: minmax(0,2fr) repeat(3, minmax(0,1fr)); gap: 40px clamp(24px, 4vw, 64px); width: min(100%, var(--jd-max)); margin: 0 auto; }
.jd-site .jd-wordmark--footer .elementor-heading-title, .jd-site .jd-wordmark--footer .elementor-heading-title a { color: #fff; font-size: 1.6rem; }
.jd-site .jd-footer__tag p { font: 300 1.15rem/1.4 var(--jd-serif); color: #D9D4CB; margin-top: 10px; }
.jd-site .jd-footer__h .elementor-heading-title { font: 500 .72rem/1.4 var(--jd-sans); letter-spacing: .18em; text-transform: uppercase; color: #ABA59B; margin: 0 0 14px; }
.jd-site .jd-footer p { margin: 0 0 10px; }
.jd-footer .jd-nav__list { flex-direction: column; gap: 6px; }
.jd-footer .jd-nav__list a { padding: 4px 0; color: #fff; font: 400 1rem/1.4 var(--jd-sans); letter-spacing: 0; text-transform: none; }
.jd-footer .jd-nav__list a::after { display: none; }
.jd-site .jd-footer__broker { width: min(100%, var(--jd-max)); margin: clamp(48px, 6vw, 80px) auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; color: #ABA59B; }
/* Bottom bar: James Davis left, Koolden credit centre, brokerage right; stacked and centred on smaller screens */
.jd-site .jd-footer__legal { width: min(100%, var(--jd-max)); margin: clamp(48px, 6vw, 80px) auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; color: #ABA59B; }
.jd-site .jd-footer__legal,
.jd-site .jd-footer__legal > .elementor-widget-container { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px 32px; }
.jd-site .jd-footer__legal > .elementor-widget-container { grid-column: 1 / -1; }
.jd-site .jd-legal__copy { justify-self: start; }
.jd-site .jd-credit { justify-self: center; }
.jd-site .jd-legal__broker { justify-self: end; text-align: right; }
.jd-site .jd-footer__legal p { margin: 0; }
.jd-site .jd-credit { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 .4em; color: #D9D4CB; }
.jd-site .jd-footer .jd-credit a { color: #fff; font-weight: 600; }
.jd-site .jd-footer .jd-credit a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--jd-accent); text-decoration-thickness: 2px; }
.jd-credit__icons { display: inline-flex; align-items: center; gap: .35em; }
.jd-credit__i {
	display: inline-block; width: 1em; height: 1em; overflow: hidden; line-height: 1em; color: transparent; background: var(--jd-accent);
	-webkit-mask: var(--jd-i) center / contain no-repeat; mask: var(--jd-i) center / contain no-repeat;
}
.jd-credit__i--heart { --jd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.6-4.6-9.7-9.3C.8 8.3 2.9 4.2 6.7 4.2c2.2 0 3.7 1.2 5.3 3.2 1.6-2 3.1-3.2 5.3-3.2 3.8 0 5.9 4.1 4.4 7.5C19.6 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }
.jd-credit__i--music { --jd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 2.5v13a3 3 0 1 1-2-2.83V7.4l-9 1.8v8.8a3 3 0 1 1-2-2.83V5.5z'/%3E%3C/svg%3E"); }
.jd-credit__i--coffee { --jd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h14v6.5A5.5 5.5 0 0 1 11.5 19h-3A5.5 5.5 0 0 1 3 13.5zm14 1.5h1.6a3 3 0 0 1 0 6H17v-2h1.6a1 1 0 0 0 0-2H17zM2 20.5h17v1.8H2z'/%3E%3C/svg%3E"); }
@media (max-width: 1180px) {
	.jd-site .jd-footer__legal,
	.jd-site .jd-footer__legal > .elementor-widget-container { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
	.jd-site .jd-legal__copy, .jd-site .jd-credit, .jd-site .jd-legal__broker { justify-self: center; text-align: center; }
	.jd-site .jd-credit { justify-content: center; }
}

/* 11 Responsive */
@media (max-width: 1024px) {
	.jd-site .jd-footer__top { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.jd-values__list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
	.jd-site .jd-intro, .jd-site .jd-cols, .jd-site .jd-bio, .jd-site .jd-split, .jd-site .jd-contact, .jd-steps, .jd-values__list, .jd-site .jd-footer__top { grid-template-columns: minmax(0,1fr); }
	.jd-checklist { columns: 1; }
	.jd-grid { grid-template-columns: minmax(0,1fr); }
	.jd-card--solo { width: 100%; }
	.jd-card--wide .jd-card__media { aspect-ratio: 3 / 2; }
	.jd-card--post.jd-card--wide .jd-card__link { display: block; }
	.jd-site .jd-stack .gallery { grid-template-columns: minmax(0,1fr); }
	.jd-site .jd-stack .gallery-item.jd-solo { width: 100% !important; }
	.jd-site .jd-hero { height: 88svh; min-height: 520px; }
	.jd-site .jd-phero { height: 68svh; min-height: 360px; }
	.jd-site .jd-phero--contained { height: auto; min-height: 0; padding-top: 96px; }
	.jd-pnav__next { text-align: left; }
	.jd-site .jd-header { padding-top: 16px; padding-bottom: 16px; }
	.jd-site .jd-wordmark .elementor-heading-title { white-space: normal; max-width: 16ch; }
}

/* 12 Motion (only when reduced motion is not requested) */
@media (prefers-reduced-motion: no-preference) {
	.jd-card__img { transition: transform 1.1s var(--jd-ease); }
	.jd-card__link:hover .jd-card__img { transform: scale(1.025); }
	.jd-nav__list a::after { transition: transform .35s var(--jd-ease); }
	.jd-site .jd-btn .elementor-button { transition: background-color .25s, color .25s, border-color .25s; }
	.jd-nav__panel { transition: opacity .25s ease, visibility .25s; }
	.jd-stack .gallery-item img { transition: opacity .3s ease; }
	.jd-stack .gallery-icon a:hover img { opacity: .92; }
}
