/* ============================================================================
   Karavita Legal — design system (verbatim from the standalone export).
   Loaded on the front end and inside the Elementor editor preview.
   ========================================================================== */
:root {
  --wine: #870D38;
  --wine-deep: #5E0926;
  --wine-dark: #4A0720;
  --gold: #DABF8A;
  --gold-deep: #BE9A57;
  --gold-line: #C2A266;
  --cream: #F0E0CA;
  --cream-soft: #F7EEE0;
  --blush: #F8ECEC;
  --paper: #FBF7F1;
  --ink: #2A2024;
  --ink-soft: #6E6064;
  --ink-faint: #9C8F8C;
  --line: #E7DCCD;
  --line-soft: #EFE7DA;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --script: 'Pinyon Script', cursive;
  --sc: 'Cormorant SC', serif;
}

/* Scope the page reset to the Karavita content so it doesn't fight wp-admin
   chrome. .kl-root wraps every widget's output. */
.kl-root,
.kl-root * { box-sizing: border-box; }
.kl-root {
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.kl-root img { max-width: 100%; display: block; }
.kl-root a { color: inherit; text-decoration: none; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

/* Elementor wraps each widget in .elementor-widget-container with default
   padding — zero it out so our full-bleed sections butt together. */
.elementor-widget-kl_nav .elementor-widget-container,
.elementor-widget-kl_hero .elementor-widget-container,
.elementor-widget-kl_strip .elementor-widget-container,
.elementor-widget-kl_intro .elementor-widget-container,
.elementor-widget-kl_services .elementor-widget-container,
.elementor-widget-kl_team .elementor-widget-container,
.elementor-widget-kl_testimonials .elementor-widget-container,
.elementor-widget-kl_book .elementor-widget-container,
.elementor-widget-kl_cta .elementor-widget-container,
.elementor-widget-kl_footer .elementor-widget-container { padding: 0; }

.kl-root .wrap { max-width: 1180px; margin: 0 auto; padding: 0 44px; }
.kl-root .eyebrow {
  font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 18px;
}
.kl-root h1, .kl-root h2, .kl-root h3 { font-family: var(--display); font-weight: 600; letter-spacing: 0; line-height: 1.06; margin: 0; }
.kl-root .btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--wine); color: var(--cream-soft);
  font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap;
  padding: 15px 28px; border: 0; border-radius: 2px; cursor: pointer; transition: background .2s;
}
.kl-root .btn:hover { background: var(--wine-deep); }
.kl-root .btn--ghost { background: transparent; color: var(--wine); border: 1px solid var(--gold-line); }
.kl-root .btn--ghost:hover { background: var(--wine); color: var(--cream-soft); border-color: var(--wine); }
.kl-root .btn--light { background: var(--cream-soft); color: var(--wine); }
.kl-root .btn--light:hover { background: #fff; }

/* ============ NAV ============ */
/* Each widget lives in its own Elementor section, so `sticky` would be trapped
   inside the nav's ~83px-tall section and scroll away. Use `fixed` (viewport-
   relative) + a same-height spacer that keeps the nav's place in the flow. */
.kl-root header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(251,247,241,0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.kl-root .nav-spacer { height: 83px; }
.kl-root .nav .wrap { display: flex; align-items: center; gap: 26px; height: 82px; }
.kl-root .brand { display: flex; align-items: center; gap: 13px; }
.kl-root .brand .mk { position: relative; width: 46px; height: 40px; display: grid; place-items: center; color: var(--wine); }
.kl-root .brand .mk .arc { position: absolute; inset: 0; color: var(--gold-line); }
.kl-root .brand .mk .kl { font-family: var(--display); font-weight: 500; font-size: 22px; position: relative; }
.kl-root .brand .mk .kl .l { margin-left: -0.30em; }
.kl-root .brand .txt { display: flex; flex-direction: column; line-height: 1; }
.kl-root .brand .txt .s { font-family: var(--script); font-size: 27px; color: var(--wine); line-height: 0.8; }
.kl-root .brand .txt .l { font-family: var(--sc); font-weight: 600; font-size: 10.5px; letter-spacing: 0.42em; text-indent: 0.42em; color: var(--gold-deep); margin-top: 2px; }
/* Uploaded logo image — fills the nav height, keeps aspect ratio. */
.kl-root .brand.has-logo { gap: 0; }
.kl-root .brand .logo { display: flex; align-items: center; line-height: 0; }
.kl-root .brand .logo img { height: var(--kl-logo-h, 70px); width: auto; max-width: 300px; display: block; object-fit: contain; }
.kl-root nav.menu { display: flex; gap: 28px; margin-left: auto; }
.kl-root nav.menu a { font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 4px 0; position: relative; white-space: nowrap; }
.kl-root nav.menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--gold-deep); transition: width .25s; }
.kl-root nav.menu a:hover::after, .kl-root nav.menu a.active::after { width: 100%; }
.kl-root .nav .btn { padding: 12px 22px; }
/* Hamburger toggle — hidden on desktop, shown at the mobile breakpoint. */
.kl-root .menu-toggle { display: none; margin-left: auto; width: 44px; height: 40px; padding: 0; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 9px; color: var(--wine); cursor: pointer; }
.kl-root .menu-toggle .bars { position: relative; display: block; width: 20px; height: 14px; }
.kl-root .menu-toggle .bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: top .25s ease, transform .25s ease, opacity .2s ease; }
.kl-root .menu-toggle .bars span:nth-child(1) { top: 0; }
.kl-root .menu-toggle .bars span:nth-child(2) { top: 6px; }
.kl-root .menu-toggle .bars span:nth-child(3) { top: 12px; }
.kl-root .nav.is-open .menu-toggle .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.kl-root .nav.is-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
.kl-root .nav.is-open .menu-toggle .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ============ HERO ============ */
.kl-root .hero { background: linear-gradient(180deg, var(--blush) 0%, var(--cream-soft) 100%); position: relative; overflow: hidden; }
.kl-root .hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 0; }
.kl-root .hero-copy { padding: 30px 0 84px; }
.kl-root .hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.02; margin: 0 0 22px; }
.kl-root .hero h1 .scr { font-family: var(--script); color: var(--wine); font-weight: 400; font-size: 1.18em; display: inline-block; line-height: 0.9; }
.kl-root .hero p { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 32px; }
.kl-root .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.kl-root .hero-photo { align-self: end; position: relative; margin-bottom: 20px; }
.kl-root .hero-photo .kl-img { width: 100%; height: 540px; border-radius: 4px; overflow: hidden; background: var(--cream); }
.kl-root .hero-photo .kl-img img { width: 100%; height: 100%; object-fit: cover; }
.kl-root .hero-photo .badge {
  position: absolute; left: -28px; bottom: 40px; background: var(--wine); color: var(--cream-soft);
  padding: 18px 24px; border-radius: 2px; box-shadow: 0 24px 48px -28px rgba(94,9,38,0.6);
}
.kl-root .hero-photo .badge .n { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1; }
.kl-root .hero-photo .badge .t { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
@media (max-width: 920px) { .kl-root .hero-photo .badge { left: 16px; } }

/* ============ SERVICE STRIP (looping marquee) ============ */
.kl-root .strip { background: var(--wine); color: var(--cream-soft); }
.kl-root .strip-viewport { overflow: hidden; display: flex; }
.kl-root .strip-marquee { display: flex; align-items: stretch; width: max-content; }
/* Auto-scroll: two identical halves, animate one half-width and loop forever. */
.kl-root .strip.is-auto .strip-marquee { animation: kl-marquee var(--kl-marquee-duration, 36s) linear infinite; }
.kl-root .strip.is-reverse .strip-marquee { animation-direction: reverse; }
.kl-root .strip.pause-hover:hover .strip-marquee { animation-play-state: paused; }
/* No auto-scroll: fall back to a centred, manually-scrollable row. */
.kl-root .strip.is-static .strip-viewport { overflow-x: auto; scrollbar-width: none; }
.kl-root .strip.is-static .strip-viewport::-webkit-scrollbar { display: none; }
.kl-root .strip.is-static .strip-marquee { width: 100%; justify-content: safe center; }

/* Force-reset the theme's default <ul>/<li> margins — they were leaking in as
   extra height (a stray gap under the row inside the wine band). */
.kl-root .strip-track { display: flex; flex: none; align-items: stretch; margin: 0 !important; padding: 0 !important; list-style: none; }
.kl-root .strip-track li { display: flex; flex: none; margin: 0 !important; padding: 0; }
.kl-root .strip-track a {
  flex: none; padding: 24px 38px; font-family: var(--display); font-size: 25px; font-weight: 500; line-height: 1.15;
  white-space: nowrap; display: flex; align-items: center; gap: 38px; color: var(--cream-soft); transition: background .2s;
}
.kl-root .strip-track a:hover { background: var(--wine-deep); }
.kl-root .strip-track a::after { content: ""; width: 1px; height: 20px; background: rgba(218,191,138,0.35); }

@keyframes kl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Honour reduced-motion: stop the loop, let users scroll it by hand instead. */
@media (prefers-reduced-motion: reduce) {
  .kl-root .strip.is-auto .strip-marquee { animation: none; width: auto; }
  .kl-root .strip.is-auto .strip-track:nth-child(2) { display: none; }
  .kl-root .strip.is-auto .strip-viewport { overflow-x: auto; scrollbar-width: none; }
  .kl-root .strip.is-auto .strip-viewport::-webkit-scrollbar { display: none; }
}

/* ============ INTRO + STATS ============ */
.kl-root .intro { padding: 96px 0; }
.kl-root .intro .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.kl-root .intro h2 { font-size: clamp(32px, 4vw, 46px); font-style: italic; line-height: 1.1; }
.kl-root .intro .left .btn { margin-top: 32px; }
.kl-root .intro .right p { color: var(--ink-soft); margin: 0 0 18px; }
.kl-root .intro .right p:first-child { margin-top: 0; font-size: 17px; color: var(--ink); }
.kl-root .stats { display: flex; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); padding-top: 32px; }
.kl-root .stat { flex: 1; padding-right: 24px; }
.kl-root .stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.kl-root .stat .v { font-family: var(--display); font-size: 40px; font-weight: 600; color: var(--wine); line-height: 1; }
.kl-root .stat .l { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.4; }

/* ============ ABOUT (editorial long-form) ============ */
.kl-root .about { padding: clamp(72px, 9vw, 124px) 0; background: var(--cream-soft); }
.kl-root .about .about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 72px; align-items: start; }
.kl-root .about .about-head { position: sticky; top: 110px; }
.kl-root .about .about-head .eyebrow { margin-bottom: 18px; }
.kl-root .about .about-head h2 {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(42px, 5.4vw, 66px); line-height: 1.04; color: var(--wine); margin: 0;
}
.kl-root .about .about-body p { color: var(--ink-soft); font-size: 17px; line-height: 1.78; margin: 0 0 22px; }
/* Lead paragraph: a touch larger and darker for hierarchy (styling only). */
.kl-root .about .about-body p:first-child { font-size: 20.5px; line-height: 1.66; color: var(--ink); margin-bottom: 26px; }
.kl-root .about .about-body p:last-child { margin-bottom: 0; }

/* ============ CARD GRID (static services grid) ============ */
.kl-root .cardgrid { background: var(--cream-soft); padding: clamp(64px, 8vw, 108px) 0; }
.kl-root .cardgrid .sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.kl-root .cardgrid .sec-head .eyebrow { margin-bottom: 16px; }
.kl-root .cardgrid .cg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kl-root .cardgrid .cg-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 34px 32px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.kl-root .cardgrid .cg-card:hover { border-color: var(--wine); box-shadow: 0 28px 54px -36px rgba(94,9,38,0.5); transform: translateY(-3px); }
.kl-root .cardgrid .cg-no { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold-deep); }
.kl-root .cardgrid .cg-card h3 { font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--wine); margin: 12px 0 12px; line-height: 1.16; }
.kl-root .cardgrid .cg-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.72; margin: 0; }

/* ============ PAGE HEADER (inner-page hero) ============ */
.kl-root .pagehead {
  background: linear-gradient(180deg, var(--blush) 0%, var(--cream-soft) 100%);
  text-align: center; padding: clamp(76px, 11vw, 144px) 0 clamp(52px, 8vw, 96px);
}
.kl-root .pagehead .eyebrow { margin-bottom: 20px; }
.kl-root .pagehead h1 {
  font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.02; color: var(--wine); margin: 0;
}
.kl-root .pagehead .lede { max-width: 58ch; margin: 22px auto 0; color: var(--ink-soft); font-size: clamp(16px, 2vw, 19px); line-height: 1.72; }

/* ============ TEAM MEMBER (detailed, alternating) ============ */
.kl-root .member-detail { padding: clamp(48px, 6.5vw, 86px) 0; }
.kl-root .member-detail + .member-detail { border-top: 1px solid var(--line); }
.kl-root .member-row { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.kl-root .member-row.is-right { grid-template-columns: 1.18fr 0.82fr; }
.kl-root .member-row.is-right .member-photo { order: 2; }
.kl-root .member-row.is-right .member-info { order: 1; }
.kl-root .member-photo .kl-img {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--cream);
  box-shadow: 0 36px 70px -44px rgba(94,9,38,0.55);
}
.kl-root .member-photo .kl-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kl-root .member-info h2 {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(32px, 4vw, 50px); line-height: 1.04; color: var(--wine); margin: 0;
}
.kl-root .member-info .role {
  font-family: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep); margin: 12px 0 0;
}
.kl-root .member-info .email { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--wine); }
.kl-root .member-info .email svg { width: 15px; height: 15px; }
.kl-root .member-info .bio { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.kl-root .member-info .bio p { color: var(--ink-soft); font-size: 16px; line-height: 1.8; margin: 0 0 16px; }
.kl-root .member-info .bio p:last-child { margin-bottom: 0; }

/* ============ SERVICES GRID (2x3 hover) ============ */
.kl-root .services { background: var(--cream-soft); padding: 96px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kl-root .sec-head { max-width: 640px; margin-bottom: 48px; }
.kl-root .sec-head h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 16px; }
.kl-root .sec-head p { color: var(--ink-soft); margin: 0; font-size: 17px; }
.kl-root .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kl-root .svc {
  position: relative; background: var(--wine); border-radius: 6px;
  min-height: 340px; overflow: hidden; cursor: default;
  transition: box-shadow .35s, transform .35s; isolation: isolate;
}
.kl-root .svc:hover, .kl-root .svc:focus-within { box-shadow: 0 32px 60px -34px rgba(94,9,38,0.6); transform: translateY(-3px); }
.kl-root .svc:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Default (non-hover): full-bleed image + bottom gradient + centred title. */
.kl-root .svc .svc-media { position: absolute; inset: 0; z-index: 0; background: var(--cream); }
.kl-root .svc .svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.kl-root .svc:hover .svc-media img, .kl-root .svc:focus-within .svc-media img { transform: scale(1.06); }
.kl-root .svc .svc-grad {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity .35s;
  background: linear-gradient(to top, rgba(40,7,20,0.88) 0%, rgba(40,7,20,0.45) 34%, rgba(40,7,20,0) 64%);
}
.kl-root .svc .svc-name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 0 22px 26px;
  text-align: center; color: #fff; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.22;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5); transition: opacity .3s;
}

/* Hover overlay: centred, high-contrast, easy to read. */
.kl-root .svc .desc {
  position: absolute; inset: 0; z-index: 3; background: rgba(94,9,38,0.95); color: var(--cream-soft);
  padding: 30px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; pointer-events: none;
}
.kl-root .svc:hover .desc, .kl-root .svc:focus-within .desc { opacity: 1; transform: translateY(0); }
.kl-root .svc:hover .svc-name, .kl-root .svc:hover .svc-grad,
.kl-root .svc:focus-within .svc-name, .kl-root .svc:focus-within .svc-grad { opacity: 0; }
.kl-root .svc .desc .ic { position: static; width: 32px; height: 32px; color: var(--gold); margin: 0 0 12px; display: block; }
.kl-root .svc .desc .ic svg { width: 100%; height: 100%; }
.kl-root .svc .desc .ic i { font-size: 30px; line-height: 1; color: inherit; }
.kl-root .svc .desc .no { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold); }
.kl-root .svc .desc h3 { color: #fff; font-family: var(--display); font-weight: 600; font-size: 23px; margin: 10px 0 14px; max-width: none; }
.kl-root .svc .desc p { margin: 0; font-size: 15.5px; line-height: 1.72; color: rgba(247,238,224,0.97); max-width: 38ch; }

/* ============ TEAM ============ */
.kl-root .team { padding: 96px 0; }
.kl-root .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; margin-top: 12px; }
/* Keep the Team section visible on phones/tablets — overrides any Elementor
   "Hide On Mobile / Tablet" responsive toggle set on the KL · Team widget. */
@media (max-width: 1024px) {
  .elementor-widget-kl_team.elementor-hidden-tablet,
  .elementor-widget-kl_team.elementor-hidden-mobile,
  .elementor-widget-kl_team.elementor-hidden-mobile_extra,
  .elementor-widget-kl_team.elementor-hidden-phone { display: block !important; }
}
.kl-root .member .kl-img { width: 100%; height: 320px; border-radius: 4px; overflow: hidden; background: var(--cream); }
.kl-root .member .kl-img img { width: 100%; height: 100%; object-fit: cover; }
.kl-root .member .meta { padding: 20px 2px 0; }
.kl-root .member h3 { font-size: 24px; color: var(--ink); }
.kl-root .member a.member-link { display: block; color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
.kl-root .member h3 a.member-link { display: inline; }
.kl-root .member h3 a.member-link:hover { color: var(--wine); }
.kl-root .member > a.member-link:hover { opacity: .9; }
.kl-root .member .role { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin: 6px 0 10px; }
.kl-root .member p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.6; }
.kl-root .member .email { font-size: 13.5px; color: var(--wine); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.kl-root .member .email svg { width: 14px; height: 14px; }
.kl-root .member--join { display: flex; }
.kl-root .member--join .join { width: 100%; min-height: 320px; border: 1px dashed var(--gold-line); border-radius: 4px; background: var(--cream-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 30px; gap: 4px; }
.kl-root .member--join .join .jic { width: 40px; height: 40px; color: var(--gold-deep); margin-bottom: 14px; }
.kl-root .member--join .join .jt { font-family: var(--display); font-size: 27px; font-weight: 600; color: var(--wine); }
.kl-root .member--join .join p { font-size: 14px; color: var(--ink-soft); margin: 8px 0 18px; max-width: 26ch; line-height: 1.55; }
.kl-root .member--join .join .email { font-size: 13.5px; color: var(--wine); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--gold-line); padding-bottom: 2px; }

/* ============ TESTIMONIALS ============ */
.kl-root .testi { background: var(--blush); padding: 96px 0; }
.kl-root .testi .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.kl-root .testi h2 { font-size: clamp(30px, 4vw, 44px); }
.kl-root .testi .arrows { display: flex; gap: 10px; }
.kl-root .testi .arrows button { width: 48px; height: 48px; border: 1px solid var(--gold-line); background: transparent; border-radius: 50%; cursor: pointer; color: var(--wine); display: grid; place-items: center; transition: background .2s, color .2s; }
.kl-root .testi .arrows button:hover { background: var(--wine); color: var(--cream-soft); border-color: var(--wine); }
.kl-root .testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.kl-root .testi-track::-webkit-scrollbar { display: none; }
.kl-root .tcard { flex: 0 0 380px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 34px 32px; scroll-snap-align: start; }
.kl-root .tcard .ph { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin: 0 0 16px; }
.kl-root .tcard .quote { font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--ink); margin: 0 0 24px; }
.kl-root .tcard .who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 18px; }
.kl-root .tcard .who .dot { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--wine); font-family: var(--display); font-weight: 600; }
.kl-root .tcard .who .lbl { font-size: 13px; font-weight: 600; }
.kl-root .tcard .who .lbl span { display: block; font-weight: 400; color: var(--ink-faint); font-size: 12px; }
.kl-root .testi .note { font-size: 12.5px; color: var(--ink-faint); margin: 22px 0 0; font-style: italic; }

/* ============ BOOK / CONTACT ============ */
.kl-root .book { padding: 96px 0; background: var(--cream-soft); border-top: 1px solid var(--line); }
.kl-root .book .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
/* Heading + form share the left column; vertically centred against the Find-us card. */
.kl-root .book .book-left { display: flex; flex-direction: column; justify-content: center; }
.kl-root .book .sec-head { margin-bottom: 34px; }
.kl-root form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kl-root form label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 7px; }
.kl-root form .field { margin-bottom: 18px; }
.kl-root form input, .kl-root form textarea {
  width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 2px; padding: 13px 14px; transition: border-color .2s;
}
.kl-root form input:focus, .kl-root form textarea:focus { outline: none; border-color: var(--wine); }
.kl-root form textarea { resize: vertical; min-height: 120px; }
.kl-root .findus { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.kl-root .findus .kl-img { width: 100%; height: 220px; overflow: hidden; background: var(--cream); }
.kl-root .findus .kl-img img { width: 100%; height: 100%; object-fit: cover; }
.kl-root .findus .kl-map { width: 100%; height: 260px; overflow: hidden; background: var(--cream); line-height: 0; }
.kl-root .findus .kl-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.kl-root .findus .info { padding: 28px 30px; }
.kl-root .findus h3 { font-size: 26px; color: var(--wine); margin: 0 0 18px; }
.kl-root .findus .line { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 15px; font-size: 14.5px; color: var(--ink-soft); }
.kl-root .findus .line svg { width: 17px; height: 17px; color: var(--gold-deep); flex: none; margin-top: 2px; }
.kl-root .findus .line b { color: var(--ink); font-weight: 600; display: block; }
.kl-root .findus .line span { white-space: nowrap; }
.kl-root .findus .line span em { white-space: normal; }

/* ============ CTA ============ */
.kl-root .cta { background: var(--wine); color: var(--cream-soft); text-align: center; padding: 104px 0; position: relative; overflow: hidden; }
.kl-root .cta::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(60% 80% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 50% 40%, #000, transparent 75%); }
.kl-root .cta .wrap { position: relative; z-index: 1; }
.kl-root .cta .scr { font-family: var(--script); font-size: 40px; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.kl-root .cta h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.14; color: var(--cream-soft); max-width: 15ch; margin: 0 auto 38px; }
.kl-root .cta p { color: rgba(247,238,224,0.8); max-width: 56ch; margin: 0 auto 34px; font-size: 17px; }

/* ============ FOOTER ============ */
.kl-root footer.foot { background: var(--wine-deep); color: rgba(240,224,202,0.78); padding: 72px 0 36px; }
.kl-root footer.foot .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(218,191,138,0.18); align-items: start; }
/* When the map is shown, add a wider 4th column for it. */
.kl-root footer.foot.has-map .top { grid-template-columns: 1.4fr 1fr 0.85fr 1.3fr; gap: 40px; }
.kl-root footer.foot .fcol h4 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; }
.kl-root footer.foot .fbrand .s { font-family: var(--script); font-size: 38px; color: var(--cream-soft); line-height: 0.8; }
.kl-root footer.foot .fbrand .l { font-family: var(--sc); font-weight: 600; font-size: 11px; letter-spacing: 0.4em; color: var(--gold); margin: 6px 0 18px; }
.kl-root footer.foot .fbrand p { font-size: 14px; max-width: 34ch; margin: 0; line-height: 1.6; }
.kl-root footer.foot .fline { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: 14px; }
.kl-root footer.foot .fline span { white-space: nowrap; }
.kl-root footer.foot .fline svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 2px; }
.kl-root footer.foot a:hover { color: var(--cream-soft); }
.kl-root footer.foot .flist { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.kl-root footer.foot .fline a { color: inherit; }
/* Social icons */
.kl-root footer.foot .fsocial { display: flex; gap: 10px; margin-top: 20px; }
.kl-root footer.foot .fsoc {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid rgba(218,191,138,0.35); color: var(--gold);
  transition: background .2s, color .2s, border-color .2s;
}
.kl-root footer.foot .fsoc:hover { background: var(--gold); color: var(--wine-deep); border-color: var(--gold); }
.kl-root footer.foot .fsoc svg { width: 17px; height: 17px; }
/* Map */
.kl-root footer.foot .fmap { border-radius: 6px; overflow: hidden; line-height: 0; border: 1px solid rgba(218,191,138,0.28); box-shadow: 0 20px 40px -28px rgba(0,0,0,0.55); }
.kl-root footer.foot .fmap iframe { width: 100%; height: 196px; border: 0; display: block; }
.kl-root footer.foot .bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 12.5px; letter-spacing: 0.03em; }
.kl-root footer.foot .bottom .gold { color: var(--gold); }

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .kl-root .menu-toggle { display: inline-flex; }
  .kl-root .nav .btn { display: none; }
  .kl-root .brand .logo img { max-width: 220px; }
  /* Menu → dropdown panel under the fixed bar. Absolutely positioned so it
     overlays the page (the layout below never shifts), and animates open. */
  .kl-root nav.menu {
    position: absolute; top: 100%; left: 0; right: 0; margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0 22px;
    background: rgba(251,247,241,0.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(0,0,0,0.45);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .32s ease, padding .32s ease, opacity .22s ease, visibility .32s;
  }
  .kl-root .nav.is-open nav.menu { max-height: 80vh; overflow-y: auto; padding: 6px 22px 16px; opacity: 1; visibility: visible; }
  .kl-root nav.menu a { padding: 14px 2px; font-size: 16px; white-space: normal; border-bottom: 1px solid rgba(218,191,138,0.18); }
  .kl-root nav.menu a:last-child { border-bottom: 0; }
  /* Stacked links: drop the sliding underline, mark the active item with colour. */
  .kl-root nav.menu a::after { display: none; }
  .kl-root nav.menu a.active { color: var(--wine); font-weight: 600; }
  .kl-root .hero .wrap, .kl-root .intro .grid, .kl-root .services .svc-grid, .kl-root .book .grid, .kl-root footer.foot .top { grid-template-columns: 1fr; }
  .kl-root .svc-grid, .kl-root .team-grid { grid-template-columns: 1fr 1fr !important; }
  .kl-root .cardgrid .cg-grid { grid-template-columns: 1fr 1fr !important; }
  /* Hero stacks to one column here — close the desktop 56px column gap and the
     tall copy padding so the photo follows the text without a big empty band. */
  .kl-root .hero .wrap { gap: 30px; padding-top: 36px; }
  .kl-root .hero-copy { padding: 8px 0 0; }
  .kl-root .hero-photo .kl-img { height: 380px; }
  .kl-root .intro .grid { gap: 36px; }
  .kl-root .about .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .kl-root .about .about-head { position: static; }
  /* Member rows: stack the portrait above the text, regardless of side. */
  .kl-root .member-row, .kl-root .member-row.is-right { grid-template-columns: 1fr; gap: 26px; }
  .kl-root .member-row.is-right .member-photo, .kl-root .member-row.is-right .member-info { order: 0; }
  .kl-root .member-photo .kl-img { max-width: 460px; margin: 0 auto; }
  .kl-root .member-info { text-align: center; }
  .kl-root .member-info .email { justify-content: center; }
  .kl-root .member-info .bio { text-align: left; }
  /* Footer → two columns on tablet (overrides the has-map 4-col on desktop). */
  .kl-root footer.foot .top, .kl-root footer.foot.has-map .top { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .kl-root footer.foot .fmap iframe { height: 220px; }
  .kl-root .wrap { padding: 0 24px; }
  /* Tighter, faster-feeling strip on tablets. */
  .kl-root .strip-track a { padding: 18px 26px; font-size: 21px; gap: 26px; }
  .kl-root .strip-track a::after { height: 18px; }
}
@media (max-width: 620px) {
  .kl-root .brand .logo img { max-width: 170px; }
  /* ---- Hero on phones: tidy spacing, scaled type, full-width buttons ---- */
  .kl-root .hero .wrap { gap: 24px; padding-top: 28px; }
  .kl-root .hero-copy { padding: 4px 0 0; }
  .kl-root .hero .eyebrow { margin-bottom: 14px; letter-spacing: 0.18em; }
  .kl-root .hero h1 { font-size: clamp(33px, 8.5vw, 42px); margin-bottom: 16px; }
  .kl-root .hero p { font-size: 16px; max-width: 100%; margin-bottom: 22px; }
  /* Buttons stack to full width so the two never sit at mismatched sizes. */
  .kl-root .hero-actions { gap: 12px; }
  .kl-root .hero-actions .btn { flex: 1 1 100%; justify-content: center; white-space: normal; }
  /* Shorter photo, badge pulled fully inside and slimmed down. */
  .kl-root .hero-photo .kl-img { height: 320px; }
  .kl-root .hero-photo .badge { left: 14px; bottom: 14px; padding: 13px 18px; }
  .kl-root .hero-photo .badge .n { font-size: 24px; }
  .kl-root .svc-grid, .kl-root .team-grid, .kl-root form .frow { grid-template-columns: 1fr !important; }
  .kl-root .cardgrid .cg-grid { grid-template-columns: 1fr !important; }
  /* Stats → clean vertical rows on phones. Three narrow columns crammed the long
     labels (esp. WA); instead each stat is a full-width row — large wine value
     beside its caption, separated by hairlines. */
  .kl-root .stats { flex-direction: column; flex-wrap: nowrap; gap: 0; margin-top: 12px; padding-top: 0; border-top: 0; }
  .kl-root .stat { flex: none; display: flex; align-items: center; gap: 18px; padding: 16px 0; padding-right: 0; border-top: 1px solid var(--line); }
  .kl-root .stat + .stat { border-left: 0; padding-left: 0; }
  .kl-root .stat .v { flex: 0 0 80px; font-size: 34px; }
  .kl-root .stat .l { flex: 1; margin-top: 0; font-size: 13px; }
  /* Compact strip on phones so each item reads cleanly while it loops. */
  .kl-root .strip-track a { padding: 15px 20px; font-size: 18px; gap: 20px; }
  .kl-root .strip-track a::after { height: 16px; }
  /* Footer on phones → keep Contact + Explore side by side (less scrolling);
     brand and map span the full width. */
  .kl-root footer.foot .top, .kl-root footer.foot.has-map .top { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .kl-root footer.foot .fbrand, .kl-root footer.foot .fmapcol { grid-column: 1 / -1; }
  .kl-root footer.foot .fline span { white-space: normal; }
}
