/* J King Properties 2026: navy and gold from the logo, Source Serif 4 headings, Manrope text, white ground.
   Every class starts with jk- so nothing clashes with plugins or the parent theme. */
:root {
  --navy: #1E2F6B; --navy-deep: #15224D; --gold: #C9A257; --gold-soft: #F3E9D2; --ink: #16213A; --text: #4A5568;
  --line: #E8D19B; --paper: #F8F4EA; --cream: #F8F4EA; --border: #E8D19B; --white: #fff; --green: #1F7A4D;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif; --sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.jk { margin: 0; font-family: var(--sans); color: var(--text); line-height: 1.55; font-size: 17px; background: var(--white); -webkit-font-smoothing: antialiased; }
.jk img { display: block; max-width: 100%; height: auto; }
.jk h1, .jk h2, .jk h3 { margin: 0; font-family: var(--serif); color: var(--ink); line-height: 1.12; text-wrap: balance; font-weight: 600; }
.jk p { margin: 0; }
:where(.jk) a { color: inherit; }
.jk a:focus-visible, .jk button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.jk-skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.jk-skip:focus { left: 8px; }
.jk-wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.jk-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; }
.jk-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); flex: none; }
.jk-h2 { font-size: clamp(30px, 4vw, 40px); margin-top: 10px; }
.jk-lede { font-size: 18px; max-width: 60ch; }
.jk-lede a { color: var(--navy); font-weight: 700; }
.jk-num { font-variant-numeric: tabular-nums; }
.jk-note { font-size: 15px; color: var(--text); margin-top: 22px; }
.jk-note a { color: var(--navy); font-weight: 700; }

/* Buttons */
.jk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.jk-btn svg { width: 20px; height: 20px; flex: none; }
.jk-btn-gold { background: var(--gold); color: var(--navy-deep); }
.jk-btn-gold:hover { background: #d8b46a; }
.jk-btn-navy { background: var(--navy); color: #fff; }
.jk-btn-navy:hover { background: var(--navy-deep); }
.jk-btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.jk-btn-line:hover { background: var(--navy); color: #fff; }
.jk-btn-white { background: #fff; color: var(--navy); border-color: var(--border); }
.jk-btn-white:hover { background: var(--gold-soft); }
.jk-btn-wa { background: #25D366; color: #0b3d22; }
.jk-btn-wa:hover { background: #3fe07a; }

/* Header */
.jk-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.jk-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.jk-logo { text-decoration: none; font-family: var(--serif); font-size: 22px; color: var(--navy); }
.jk-logo img { height: 44px; width: auto; }
.jk-links { display: flex; gap: 28px; font-weight: 700; font-size: 15px; }
.jk-links a { text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.jk-links a:hover, .jk-links a[aria-current="page"] { border-bottom-color: var(--gold); }
.jk-call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 17px; }
.jk-call svg { width: 22px; height: 22px; }
.jk-call small { display: block; font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: .04em; text-transform: uppercase; }

/* Hero (home) */
.jk-hero { background: linear-gradient(135deg, #fff, var(--cream), #fff); color: var(--ink); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.jk-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: 72px 80px; }
.jk-hero h1 { color: var(--navy); font-size: clamp(36px, 5vw, 58px); letter-spacing: -.01em; }
.jk-hero h1 em { font-style: italic; color: var(--gold); }
.jk-hero .jk-lede { color: var(--text); margin-top: 20px; font-size: 19px; }
.jk-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.jk-facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.jk-fact b { display: block; font-family: var(--serif); font-size: 28px; color: var(--navy); line-height: 1; }
.jk-fact span { font-size: 13px; color: var(--text); font-weight: 600; letter-spacing: .02em; }
.jk-hero-photo { position: relative; }
.jk-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(15,23,42,.12); }
.jk-hero-chip { position: absolute; left: 20px; bottom: 20px; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; align-items: center; gap: 12px; text-decoration: none; }
.jk-hero-chip .jk-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,122,77,.18); flex: none; }
.jk-hero-chip b { font-size: 15px; display: block; }
.jk-hero-chip span span { font-size: 13px; color: var(--text); }

/* Page tops (inner pages) */
.jk-pagetop { background: linear-gradient(135deg, #fff, var(--cream), #fff); color: var(--ink); padding-block: 44px 48px; border-bottom: 1px solid var(--border); }
.jk-pagetop h1 { color: var(--navy); font-size: clamp(32px, 4.5vw, 48px); margin-top: 10px; }
.jk-pagetop .jk-lede { color: var(--text); margin-top: 14px; }
.jk-pagetop .jk-back { display: inline-block; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.jk-pagetop .jk-back:hover { color: var(--navy); }
.jk-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); color: var(--navy); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; margin-left: 12px; vertical-align: middle; }
.jk-pill .jk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Sections and grids */
.jk-section { padding-block: 72px; }
.jk-section-tight { padding-top: 0; }
.jk-section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 32px; }
.jk-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.jk-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.jk-two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.jk-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }

/* Suite cards */
.jk-suite { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; min-width: 0; }
.jk-suite:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(22,33,58,.12); }
.jk-suite img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jk-suite-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.jk-suite-where { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.jk-suite h3 { font-size: 22px; }
.jk-suite-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--text); margin-top: 2px; }
.jk-suite-meta b { color: var(--ink); }
.jk-suite-price { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 10px; border-top: 1px solid var(--line); }
.jk-suite-price b { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.jk-suite-price small { font-size: 13px; color: var(--text); white-space: nowrap; }
.jk-suite-price > span { font-size: 14px; font-weight: 800; color: var(--navy); margin-left: auto; }

/* The home page shelf (Slick) */
.jk-shelf.slick-initialized { padding-bottom: 36px; }
.jk-shelf .slick-list { margin: 0 -11px; padding: 6px 0 24px; }
.jk-shelf .slick-track { display: flex; }
.jk-shelf .slick-slide { height: auto; padding: 0 11px; }
.jk-shelf .slick-slide > div { height: 100%; }
.jk-shelf .slick-slide .jk-suite { height: 100%; }
.jk-shelf .slick-dots { bottom: -6px; }
.jk-shelf .slick-dots li button:before { color: var(--navy); font-size: 10px; opacity: .3; }
.jk-shelf .slick-dots li.slick-active button:before { opacity: 1; }

/* Trust strip */
.jk-trust { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jk-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 44px; }
.jk-trust-item { display: flex; gap: 14px; align-items: flex-start; }
.jk-trust-item svg { width: 28px; height: 28px; flex: none; color: var(--gold); }
.jk-trust-item b { display: block; color: var(--ink); font-size: 17px; }
.jk-trust-item span { font-size: 14.5px; }
.jk-stars { color: var(--gold); letter-spacing: 2px; }

/* Buildings */
.jk-buildings { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.jk-building { grid-column: span 2; position: relative; display: block; border-radius: 20px; overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 3; background: var(--navy-deep); }
.jk-building:nth-child(4), .jk-building:nth-child(5) { grid-column: span 3; aspect-ratio: 16 / 9; }
.jk-building img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.jk-building:hover img { transform: scale(1.04); }
.jk-building-text { position: absolute; inset: auto 0 0 0; padding: 22px 20px 20px; background: linear-gradient(to top, rgba(21,34,77,.92), rgba(21,34,77,0)); }
.jk-building-text b { display: block; font-family: var(--serif); font-size: 24px; }
.jk-building-text span { font-size: 14px; color: #D5DBEE; }

/* How it works */
.jk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.jk-step { counter-increment: step; padding: 26px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.jk-step::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 40px; color: var(--gold); line-height: 1; display: block; }
.jk-step h3 { font-size: 21px; margin-top: 12px; }
.jk-step p { margin-top: 8px; font-size: 15.5px; }
.jk-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.jk-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }

/* A suite or building page */
.jk-property { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
.jk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.jk-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 700; color: var(--ink); }
.jk-chip b { color: var(--navy); }
.jk-rent { display: flex; align-items: baseline; gap: 10px; margin: 0 0 22px; }
.jk-rent b { font-family: var(--serif); font-size: 40px; color: var(--navy); line-height: 1; }
.jk-rent span { font-size: 15px; }
.jk-article { font-size: 17px; max-width: 66ch; }
.jk-article p { margin: 0 0 1em; }
.jk-article ul, .jk-article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.jk-article li { margin-bottom: .35em; }
.jk-article h2, .jk-article h3 { font-size: 24px; margin: 1.4em 0 .5em; }
.jk-article strong { color: var(--ink); }
.jk-article a { color: var(--navy); }
.jk-enquire { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.jk-gallery { display: grid; gap: 12px; }
.jk-gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--paper); }
.jk-gallery a:first-child { grid-column: 1 / -1; }
.jk-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jk-gallery.jk-gallery-many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jk-gallery.jk-gallery-many a:first-child img { aspect-ratio: 16 / 10; }
.jk-aside { margin-top: 26px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.jk-aside h3 { font-size: 20px; }
.jk-aside p { margin-top: 8px; font-size: 15px; }
.jk-aside a.jk-btn { margin-top: 14px; }

/* Contact band */
.jk-contact { background: var(--cream); color: var(--ink); border-top: 1px solid var(--border); }
.jk-contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; padding-block: 72px; align-items: start; }
.jk-contact h2 { color: var(--navy); }
.jk-contact .jk-lede { color: var(--text); margin-top: 14px; }
.jk-contact-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.jk-contact-btns .jk-btn { font-size: 17px; }
.jk-contact-card { background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.jk-contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 16px; }
.jk-contact-card dt { font-weight: 800; color: var(--navy); }
.jk-contact-card dd { margin: 0; }
.jk-contact-card a { color: var(--navy); font-weight: 700; text-decoration: none; }
.jk-contact-card a:hover { text-decoration: underline; }
.jk-review { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.jk-review b { font-family: var(--serif); font-size: 28px; color: var(--navy); line-height: 1; }
.jk-review span { font-size: 14px; color: var(--text); display: block; }

/* Footer */
.jk-footer { background: #fff; color: var(--text); font-size: 14px; border-top: 1px solid var(--border); }
.jk-footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-block: 28px; align-items: center; }
.jk-footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.jk-footer a { color: var(--navy); text-decoration: none; font-weight: 700; }
.jk-footer a:hover { text-decoration: underline; }
.jk-footer .jk-small { max-width: 70ch; }

/* The cookie banner's "revisit" button and WordPress's admin bar sit over the page: leave room. */
.jk-phone-bar { display: none; }
body.admin-bar .jk-header { top: 32px; }

@media (max-width: 980px) {
  .jk-hero-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 56px; }
  .jk-grid-4, .jk-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jk-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jk-building, .jk-building:nth-child(4), .jk-building:nth-child(5) { grid-column: span 3; aspect-ratio: 4 / 3; }
  .jk-steps { grid-template-columns: 1fr; }
  .jk-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jk-contact-grid, .jk-property, .jk-two-col { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 782px) { body.admin-bar .jk-header { top: 46px; } }
@media (max-width: 700px) {
  body.jk { font-size: 16px; }
  .jk-links, .jk-call small { display: none; }
  .jk-call { font-size: 16px; }
  .jk-section { padding-block: 52px; }
  .jk-pagetop { padding-block: 32px 36px; }
  .jk-grid-4, .jk-grid-3 { grid-template-columns: 1fr; }
  .jk-trust-grid { grid-template-columns: 1fr; gap: 18px; padding-block: 32px; }
  .jk-building, .jk-building:nth-child(4), .jk-building:nth-child(5) { grid-column: span 6; }
  .jk-contact-btns { grid-template-columns: 1fr; }
  .jk-hero-btns .jk-btn, .jk-enquire .jk-btn { flex: 1 1 100%; }
  .jk-hero-chip { position: static; margin-top: 14px; }
  .jk-footer-grid { flex-direction: column; align-items: flex-start; }
  .jk-rent b { font-size: 32px; }
  .jk-phone-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .jk-phone-bar .jk-btn { min-height: 48px; padding: 10px 14px; font-size: 15px; }
  .jk-footer { padding-bottom: 84px; }
  .cky-btn-revisit-wrapper { bottom: 84px !important; }
}
@media (prefers-reduced-motion: reduce) { .jk * { transition: none !important; } html { scroll-behavior: auto; } }
