/* Shared styles for every page: main menu (with mobile burger), HotLead wordmark and the home page sections.
   Linked as /assets/site.css?v=__SITE_CSS__ ; the build swaps in a content hash so caches refresh on change. */

/* ---------- main menu ---------- */
.kgn{position:sticky;top:0;z-index:50;background:rgba(10,18,32,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(243,240,233,.1);font-family:Manrope,system-ui,sans-serif}
.kgn-in{max-width:1200px;margin:0 auto;padding:8px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.kgn-logo{display:flex;align-items:center;min-height:44px}
.kgn-logo img{height:52px;width:auto;display:block}
.kgn-links{display:flex;align-items:center;gap:4px}
.kgn-links a,.kgn-panel a{text-decoration:none;color:#F3F0E9;font-weight:600;font-size:14px;padding:10px 12px;min-height:44px;display:inline-flex;align-items:center;border-radius:999px}
.kgn-links a:hover{color:#E3A93C}
.kgn-links a[aria-current="page"]{color:#E3A93C}
.kgn .kgn-cta{background:#E3A93C;color:#0A1220!important;font-weight:700;padding:10px 18px;margin-left:6px}
.kgn .kgn-cta:hover{background:#F3F0E9}
.kgn-menu{display:none}
.kgn-menu summary{list-style:none;cursor:pointer;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;color:#F3F0E9;border:1px solid rgba(243,240,233,.2)}
.kgn-menu summary::-webkit-details-marker{display:none}
.kgn-menu summary:focus-visible{outline:3px solid #2E6BFF;outline-offset:3px}
.kgn-menu .kgn-x{display:none}
.kgn-menu[open] .kgn-x{display:block}
.kgn-menu[open] .kgn-bars{display:none}
.kgn-panel{position:absolute;top:100%;left:0;right:0;height:calc(100vh - 100%);height:calc(100dvh - 100%);overflow-y:auto;background:#0A1220;padding:16px 20px 28px;display:flex;flex-direction:column;gap:4px;border-top:1px solid rgba(243,240,233,.1)}
.kgn-panel a{font-family:'Space Grotesk',sans-serif;font-size:26px;font-weight:600;padding:12px 4px;border-radius:0;border-bottom:1px solid rgba(243,240,233,.08)}
.kgn-panel a[aria-current="page"]{color:#E3A93C}
.kgn-panel-foot{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:24px}
.kgn-panel .kgn-panel-foot a{justify-content:center;font-family:Manrope,system-ui,sans-serif;font-size:16px;border:0;border-radius:999px;min-height:52px}
.kgn-panel .kgn-cta{margin:0}
.kgn-panel .kgn-wa{border:1px solid rgba(243,240,233,.3)!important;color:#F3F0E9}
@media (max-width:860px){.kgn-links{display:none}.kgn-menu{display:block}.kgn-logo img{height:44px}}

/* ---------- home + services page sections ---------- */
.kgh-wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.kgh-sec{padding:88px 0}
.kgh-kicker{margin:0;font-family:'Space Grotesk',sans-serif;font-size:13px;letter-spacing:.14em;font-weight:600;color:#2E6BFF;text-transform:uppercase}
.kgh-dark .kgh-kicker{color:#E3A93C}
.kgh-h2{margin:12px 0 0;font-family:'Space Grotesk',sans-serif;font-size:clamp(30px,5vw,52px);line-height:1.05;letter-spacing:-.02em;font-weight:700;text-wrap:balance;max-width:20ch}
.kgh-lead{margin:16px 0 0;font-size:18px;line-height:1.6;color:#3A4456;max-width:620px;text-wrap:pretty}
.kgh-dark{background:#0A1220;color:#F3F0E9}
.kgh-dark .kgh-lead{color:rgba(243,240,233,.82)}
.kgh-sand{background:#ece5db}
.kgh-btn{text-decoration:none;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:16px;padding:14px 24px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;min-height:52px;background:#E3A93C;color:#0A1220!important}
.kgh-btn:hover{background:#F3F0E9}
.kgh-btn-light{background:#F3F0E9}
.kgh-btn-light:hover{background:#2E6BFF;color:#fff!important}
.kgh-btn-line{background:transparent;border:1px solid rgba(243,240,233,.35);color:#F3F0E9!important}
.kgh-btn-line:hover{background:rgba(243,240,233,.1)}
.kgh-btns{display:flex;gap:10px;flex-wrap:wrap}
.kgh-link{font-weight:700;text-decoration:none;color:#2E6BFF;display:inline-flex;min-height:44px;align-items:center;margin-top:20px}
.kgh-link:hover{color:#0A1220}
.kgh-jump{margin:0;font-size:16px;color:rgba(243,240,233,.7)}
.kgh-jump a{color:#F3F0E9;font-weight:600;text-underline-offset:4px}
.kgh-close-alt{margin:20px 0 0;font-size:16px;color:rgba(243,240,233,.8)}
.kgh-close-alt a{color:#E3A93C;font-weight:600}

/* hero */
.kgh-hero{position:relative;color:#F3F0E9;background:#0A1220;overflow:hidden}
.kgh-hero-bg{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 70% 60% at 80% 20%,rgba(46,107,255,.45) 0%,rgba(46,107,255,0) 70%),radial-gradient(ellipse 50% 45% at 10% 90%,rgba(227,169,60,.18) 0%,rgba(227,169,60,0) 70%),linear-gradient(160deg,#0D1B36 0%,#0A1220 55%,#070C16 100%)}
.kgh-hero-in{position:relative;max-width:1200px;margin:0 auto;padding:88px 20px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:48px;align-items:center}
.kgh-hero h1{margin:16px 0 0;font-family:'Space Grotesk',sans-serif;font-size:clamp(38px,7vw,76px);line-height:1;letter-spacing:-.025em;font-weight:700;text-wrap:balance}
.kgh-hero-sub{margin:24px 0 32px;font-size:clamp(17px,2.2vw,21px);line-height:1.55;max-width:580px;color:rgba(243,240,233,.88);text-wrap:pretty}
.kgh-hero-note{margin:18px 0 0;font-size:14px;color:rgba(243,240,233,.6)}
.kgh-hero-short .kgh-hero-in{grid-template-columns:1fr;padding:80px 20px 72px}

/* hero illustration: how a business works today flows into one system, and results come out */
@keyframes kgh-travel{0%{offset-distance:0%;opacity:0}10%{opacity:1}90%{opacity:1}100%{offset-distance:100%;opacity:0}}
@keyframes kgh-ping{0%{transform:scale(.8);opacity:.9}100%{transform:scale(1.7);opacity:0}}
@keyframes kgh-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes kgh-glow{0%,100%{opacity:.45}35%,80%{opacity:1}}
.kgh-flow{width:100%;max-width:460px;justify-self:center;background:rgba(10,18,32,.55);border:1px solid rgba(243,240,233,.12);border-radius:32px;padding:24px}
.kgh-flow svg{display:block;width:100%;height:auto;overflow:visible}
@media (max-width:600px){.kgh-flow{padding:14px;border-radius:24px}}
@media (prefers-reduced-motion:reduce){.kgh-flow *{animation:none!important}.kgh-flow circle[r="4"],.kgh-flow circle[r="5"]{display:none}}

/* three doors */
.kgh-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:44px}
.kgh-door{background:#fff;border:1px solid rgba(10,18,32,.08);border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:14px}
.kgh-door-q{margin:0;font-family:'Space Grotesk',sans-serif;font-size:22px;line-height:1.2;font-weight:700;text-wrap:balance}
.kgh-door p{margin:0;font-size:16px;line-height:1.6;color:#3A4456}
.kgh-door-name{font-weight:700;color:#0A1220}
.kgh-door dl{margin:auto 0 0;padding-top:16px;border-top:1px solid rgba(10,18,32,.08);display:grid;gap:10px}
.kgh-door dt{font-family:'Space Grotesk',sans-serif;font-size:12px;letter-spacing:.14em;font-weight:600;color:#2E6BFF}
.kgh-door dd{margin:2px 0 0;font-size:15px;line-height:1.5;font-weight:600}
.kgh-door a{font-weight:700;text-decoration:none;color:#2E6BFF;min-height:44px;display:inline-flex;align-items:center}
.kgh-door a:hover{color:#0A1220}
.kgh-door-feature{background:#0A1220;color:#F3F0E9;border-color:#0A1220}
.kgh-door-feature p{color:rgba(243,240,233,.8)}
.kgh-door-feature .kgh-door-name{color:#fff}
.kgh-door-feature dl{border-color:rgba(243,240,233,.15)}
.kgh-door-feature dt{color:#E3A93C}
.kgh-door-feature a{color:#E3A93C}
.kgh-door-feature a:hover{color:#fff}

/* bouncing "keep reading" arrow at the foot of a section */
@keyframes kgh-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}
.kgh-next{display:flex;flex-direction:column;align-items:center;gap:8px;width:fit-content;margin:64px auto 0;padding:8px 16px;text-decoration:none;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:16px;color:#0A1220}
.kgh-next:hover{color:#2E6BFF}
.kgh-next svg{color:#2E6BFF;animation:kgh-bob 1.6s ease-in-out infinite}
.kgh-dark .kgh-next{color:#F3F0E9}
.kgh-dark .kgh-next:hover,.kgh-dark .kgh-next svg{color:#E3A93C}
.kgh-btn-down{gap:8px}
.kgh-btn-down svg{animation:kgh-bob 1.6s ease-in-out infinite}
.kgh-sec:has(.kgh-next){padding-bottom:48px}
@media (prefers-reduced-motion:reduce){.kgh-next svg,.kgh-btn-down svg{animation:none}}
.kgh-door .kgh-door-btn{color:#0A1220;min-height:48px;font-size:15px;padding:12px 20px;margin-top:6px}
.kgh-door .kgh-door-btn:hover{color:#0A1220;background:#F3F0E9}
.kgh-door:not(.kgh-door-feature) .kgh-door-btn:hover{background:#0A1220;color:#F3F0E9!important}
.kgh-icon{display:inline-flex;width:48px;height:48px;border-radius:14px;align-items:center;justify-content:center;background:rgba(227,169,60,.14);color:#E3A93C;margin-bottom:14px}

/* HotLead proof */
.kgh-shots{display:flex;flex-direction:column;align-items:center;gap:28px}
.kgh-phones{display:flex;justify-content:center;align-items:flex-start;gap:18px;width:100%}
.kgh-phone{width:min(46%,230px);border:7px solid #0A1220;border-radius:30px;overflow:hidden;background:#0A1220;box-shadow:0 24px 60px rgba(10,18,32,.28)}
.kgh-phone+.kgh-phone{margin-top:44px}
.kgh-phone img{display:block;width:100%;height:auto}
.kgh-proof-story{margin:24px 0 0;font-size:16px;line-height:1.65;color:#3A4456}
.kgh-proof{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:56px;align-items:start}
.kgh-points{display:grid;gap:14px;margin:28px 0 0;padding:0;list-style:none}
.kgh-points li{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:14px 0;border-top:1px solid rgba(10,18,32,.12);font-size:16px;line-height:1.5}
.kgh-points strong{font-family:'Space Grotesk',sans-serif;font-size:18px}
.kgh-story{background:#fff;border-radius:24px;padding:28px;border:1px solid rgba(10,18,32,.08)}
.kgh-story p{margin:0;font-size:17px;line-height:1.65}
.kgh-story .kgh-big{font-family:'Space Grotesk',sans-serif;font-size:clamp(40px,6vw,64px);font-weight:700;line-height:1;letter-spacing:-.02em;color:#a64014;display:flex;gap:28px;flex-wrap:wrap;margin:0 0 18px}
.kgh-story .kgh-big span{display:flex;flex-direction:column}
.kgh-story .kgh-big small{font:600 14px Manrope,sans-serif;color:#3A4456;letter-spacing:0;margin-top:6px}

/* principles */
.kgh-principles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:44px}
.kgh-principle{border-top:1px solid rgba(243,240,233,.18);padding-top:24px}
.kgh-principle h3{margin:0 0 10px;font-family:'Space Grotesk',sans-serif;font-size:21px;line-height:1.2;font-weight:700}
.kgh-principle p{margin:0;font-size:16px;line-height:1.6;color:rgba(243,240,233,.8)}

/* latest posts (injected by the build; same designed cards as the blog page, styled in blog.css). Two per row. */
.kgh-posts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:40px 0 12px;padding:0;list-style:none}
.kgh-posts .kg-card a{height:100%;grid-template-columns:1fr;align-content:start}
.kgh-posts .kg-banner{min-height:260px;padding:28px}
.kgh-posts .kg-banner h2{font-size:clamp(22px,2.4vw,30px)}
.kgh-posts .kg-thumb{aspect-ratio:16/9;min-height:0}
.kgh-posts .kg-card-body{padding:20px 28px 24px}
@media (max-width:720px){.kgh-posts{grid-template-columns:1fr}}

/* Darryn */
.kgh-me{display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:center;max-width:900px}
.kgh-me img{width:220px;height:220px;object-fit:cover;border-radius:50%;display:block}
.kgh-me p{margin:14px 0 0;font-size:18px;line-height:1.65;color:#3A4456}
.kgh-me a{font-weight:700;text-decoration:none;color:#2E6BFF;display:inline-flex;min-height:44px;align-items:center;margin-top:8px}

/* closing call to action */
.kgh-close{text-align:center}
.kgh-close .kgh-h2,.kgh-close .kgh-lead{margin-left:auto;margin-right:auto}
.kgh-close .kgh-btns{justify-content:center;margin-top:32px}
.kgh-close-note{margin:20px 0 0;font-size:14px;color:rgba(243,240,233,.6)}

/* services page */
.kgh-offer{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:56px;align-items:start}
.kgh-offer p{font-size:17px;line-height:1.7;margin:16px 0 0;color:#3A4456}
.kgh-dark .kgh-offer p{color:rgba(243,240,233,.82)}
.kgh-panel{border:1px solid rgba(10,18,32,.1);background:#fff;border-radius:24px;padding:28px}
.kgh-panel ul{margin:12px 0 0;padding-left:20px}
.kgh-panel li{padding:7px 0;line-height:1.5}
.kgh-price{font:700 40px/1.15 'Space Grotesk',sans-serif;margin:20px 0 4px}
.kgh-price small{font:500 16px Manrope,sans-serif}
.kgh-note{font-size:14px!important;opacity:.75}

@media (max-width:960px){
  .kgh-hero-in,.kgh-proof,.kgh-offer{grid-template-columns:1fr}
  .kgh-doors,.kgh-posts{grid-template-columns:1fr}
  .kgh-principles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .kgh-sec{padding:60px 0}
  .kgh-hero-in{padding:56px 20px}
  .kgh-principles{grid-template-columns:1fr}
  .kgh-points li{grid-template-columns:1fr;gap:4px}
  .kgh-me{grid-template-columns:1fr;gap:24px}
  .kgh-me img{width:140px;height:140px}
  .kgh-door,.kgh-story,.kgh-panel{padding:22px}
}
