/* ==========================================================================
   Kevin Gordon — site styles
   Palette: bg #0B0B0C, surface #131316, alt #0E0E10, accent #D6FB51
   ========================================================================== */

/* ---------- Fonts ---------- */
/* Bricolage Grotesque (400–800 share the same variable files per subset) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/site/fonts/bricolage-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/site/fonts/bricolage-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/site/fonts/bricolage-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/site/fonts/space-grotesk-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/site/fonts/space-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/site/fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Base ---------- */
:root {
  --bg: #0B0B0C;
  --bg-alt: #0E0E10;
  --surface: #131316;
  --surface-hover: #17171b;
  --accent: #D6FB51;
  --accent-soft: #E9FFA0;
  --text: #F4F4F0;
  --text-soft: #C6C6BF;
  --text-mute: #A9A9A2;
  --text-dim: #8a8a83;
  --text-faint: #6f6f69;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .12);
  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
* { box-sizing: border-box; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-soft); }
::selection { background: var(--accent); color: var(--bg); }
*:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
img { max-width: 100%; display: block; }
input, textarea, button, select { font-family: inherit; }

/* ---------- Animations ---------- */
@keyframes kg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes kg-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes kg-scrolldot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* Reveal on scroll (JS adds .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .85s cubic-bezier(.2, .8, .2, 1), transform .85s cubic-bezier(.2, .8, .2, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Skip link ---------- */
.kg-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 18px;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.kg-skip:focus { left: 0; color: var(--bg); }

/* ---------- Cursor / progress ---------- */
.kg-cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 44px; height: 44px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width .25s ease, height .25s ease, background .25s ease, opacity .3s ease;
  mix-blend-mode: difference;
  will-change: transform;
}
.kg-cursor-ring.is-hover { width: 76px; height: 76px; background: rgba(214, 251, 81, .18); }
.kg-cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s ease;
  will-change: transform;
}
.kg-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--accent);
  z-index: 9997;
  box-shadow: 0 0 12px rgba(214, 251, 81, .7);
}

/* ---------- Header / nav ---------- */
.kg-header {
  position: fixed; top: 0; left: 0;
  width: 100%;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  transition: background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.kg-header.is-scrolled {
  background: rgba(11, 11, 12, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 14px 5vw;
}
.kg-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -.02em;
}
.kg-brand:hover { color: var(--text); }
.kg-brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  font-size: 16px;
}
.kg-nav { display: flex; align-items: center; gap: 8px; }
.kg-nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: #B7B7B0;
  font-weight: 500;
  font-size: 15px;
}
.kg-nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.kg-nav-cta {
  margin-left: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
}
.kg-nav-cta:hover { background: var(--accent-soft); color: var(--bg); }

/* ---------- Shared section bits ---------- */
.kg-anchor-top { position: absolute; top: 0; }
.kg-eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 14px;
  margin: 0 0 18px;
}
.kg-section { padding: clamp(90px, 12vw, 180px) 5vw; }
.kg-section-alt {
  padding: clamp(70px, 9vw, 140px) 5vw;
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* ---------- Hero ---------- */
.kg-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 5vw 60px;
  overflow: hidden;
}
.kg-hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(214, 251, 81, .18), transparent 62%);
  pointer-events: none;
  filter: blur(10px);
}
.kg-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 5vw;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}
.kg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(214, 251, 81, .4);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 28px;
}
.kg-hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: kg-blink 1.6s infinite;
}
.kg-hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 7.2vw, 116px);
  line-height: .92;
  letter-spacing: -.03em;
  margin: 0 0 26px;
  text-wrap: balance;
}
.kg-hero-title em { color: var(--accent); font-style: italic; }
.kg-hero-sub {
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 0 38px;
  text-wrap: pretty;
}
.kg-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.kg-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  transition: background .25s ease, transform .25s ease;
}
.kg-btn-primary:hover { background: var(--accent-soft); color: var(--bg); transform: translateY(-2px); }
.kg-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--text);
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  transition: border-color .25s ease, color .25s ease;
}
.kg-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.kg-hero-photo-wrap { position: relative; justify-self: center; }
.kg-hero-photo-frame {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(214, 251, 81, .35);
  border-radius: 28px;
  transform: rotate(-4deg);
}
.kg-hero-photo {
  position: relative;
  width: min(38vw, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}
.kg-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.kg-hero-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 12, .35));
}
.kg-hero-tag {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  box-shadow: 0 18px 40px rgba(214, 251, 81, .25);
  animation: kg-float 5s ease-in-out infinite;
}
.kg-scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #7C7C76;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.kg-scroll-mouse {
  display: block;
  width: 22px; height: 34px;
  border: 1px solid #3a3a38;
  border-radius: 12px;
  position: relative;
}
.kg-scroll-mouse span {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  animation: kg-scrolldot 1.8s infinite;
}

/* ---------- Marquee ---------- */
.kg-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-alt);
}
.kg-marquee-track {
  display: inline-flex;
  animation: kg-marquee 26s linear infinite;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 52px);
  letter-spacing: -.02em;
}
.kg-marquee-track > span { display: inline-flex; }
.kg-marquee-track span span { padding: 0 30px; }
.kg-marquee-track .accent { color: var(--accent); }

/* ---------- About ---------- */
.kg-about-inner { max-width: 1200px; margin: 0 auto; }
.kg-about-inner .kg-eyebrow { margin-bottom: 30px; }
.kg-about-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.kg-about-title .accent { color: var(--accent); }
.kg-about-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 56px;
}
.kg-about-cols p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Services ---------- */
.kg-services-inner { max-width: 1400px; margin: 0 auto; }
.kg-services-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 56px;
}
.kg-h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0;
}
.kg-services-note { color: #9A9A93; font-size: 17px; max-width: 34ch; margin: 0 0 6px; }
.kg-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.kg-service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 30px 38px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  transition: opacity .85s cubic-bezier(.2, .8, .2, 1), transform .85s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, background .3s ease;
}
.kg-service-card:hover {
  border-color: rgba(214, 251, 81, .5);
  background: var(--surface-hover);
  transform: translateY(-6px);
}
.kg-service-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: auto;
}
.kg-service-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 36px 0 14px;
}
.kg-service-card p {
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Process ---------- */
.kg-process-inner { max-width: 1200px; margin: 0 auto; }
.kg-process-inner .kg-h2 { margin-bottom: 60px; }
.kg-process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.kg-process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  align-items: start;
  padding: 36px 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  transition: opacity .85s ease, transform .85s ease, background .3s ease;
}
.kg-process-step:hover { background: rgba(255, 255, 255, .02); }
.kg-process-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 5vw, 76px);
  line-height: .9;
  color: var(--accent);
}
.kg-process-step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.kg-process-step p {
  color: var(--text-mute);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  max-width: 62ch;
  text-wrap: pretty;
}

/* ---------- Work (pinned horizontal gallery) ---------- */
.kg-work { background: var(--bg-alt); border-top: 1px solid rgba(255, 255, 255, .06); }
.kg-work-head { max-width: 1400px; margin: 0 auto; padding: clamp(70px, 9vw, 130px) 5vw 20px; }
.kg-work-pin { position: relative; }
.kg-work-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.kg-work-track { display: flex; gap: 36px; padding: 0 5vw; will-change: transform; }
.kg-work-pin.is-static .kg-work-sticky { position: static; height: auto; }
.kg-work-pin.is-static .kg-work-track { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 20px; }
.kg-work-card {
  flex: 0 0 auto;
  width: min(76vw, 760px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kg-work-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kg-work-shot img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.kg-work-chrome {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, .28);
}
.kg-work-chrome i { width: 11px; height: 11px; border-radius: 50%; }
.kg-work-chrome .r { background: #ff5f57; }
.kg-work-chrome .y { background: #febc2e; }
.kg-work-chrome .g { background: #28c840; }
.kg-work-chrome span {
  margin-left: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  font-style: normal;
}
.kg-work-body {
  padding: 30px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.kg-work-meta { display: flex; align-items: center; gap: 12px; }
.kg-work-tag {
  padding: 6px 14px;
  border: 1px solid rgba(214, 251, 81, .45);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.kg-work-sector { color: var(--text-faint); font-size: 14px; }
.kg-work-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 0;
  letter-spacing: -.01em;
}
.kg-work-card > .kg-work-body p {
  color: var(--text-mute);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
.kg-work-more {
  flex: 0 0 auto;
  width: 38vw;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kg-work-more span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 52px);
  color: #2a2a2c;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.kg-work-note {
  text-align: center;
  padding: 10px 5vw 60px;
  color: var(--text-faint);
  font-size: 14px;
}

/* Gradient placeholders for the screenshots */
.kg-grad-esc { background: linear-gradient(135deg, #0f2a26, #155048 60%, #2f9e86); }
.kg-grad-ourpeg { background: linear-gradient(135deg, #0a1f4d, #12307a 60%, #2b57d6); }
.kg-grad-memi { background: linear-gradient(135deg, #173a2e, #2f6a52 60%, #4f9e7d); }
.kg-grad-care { background: linear-gradient(135deg, #7a3327, #b8503f 60%, #d98a6a); }

/* ---------- Clients ---------- */
.kg-clients-inner { max-width: 1300px; margin: 0 auto; }
.kg-clients-head { text-align: center; margin-bottom: 60px; }
.kg-clients-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0;
}
.kg-clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-left: 1px solid rgba(255, 255, 255, .09);
}
.kg-client-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 172px;
  padding: 34px 30px;
  border-right: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: opacity .7s ease, transform .7s ease, background .3s ease;
}
.kg-client-cell:hover { background: var(--surface); }
.kg-client-cell img {
  max-height: 52px;
  max-width: 78%;
  width: auto;
  object-fit: contain;
  opacity: .68;
  transition: opacity .3s ease;
}
.kg-client-cell:hover img { opacity: 1; }

/* ---------- Testimonials ---------- */
.kg-testi-inner { max-width: 1300px; margin: 0 auto; }
.kg-testi-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 56px;
}
.kg-testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.kg-quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: opacity .85s ease, transform .85s ease, border-color .3s ease;
}
.kg-quote:hover { border-color: rgba(214, 251, 81, .4); }
.kg-quote-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: .5;
  color: var(--accent);
  height: 32px;
}
.kg-quote blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  color: #EDEDE7;
  text-wrap: pretty;
}
.kg-quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.kg-quote-name { font-weight: 700; color: var(--text); font-size: 16px; }
.kg-quote-role { color: var(--text-dim); font-size: 14px; }

/* ---------- Contact ---------- */
.kg-contact-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.kg-contact-inner .kg-eyebrow { margin-bottom: 20px; }
.kg-contact-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 80px);
  line-height: .96;
  letter-spacing: -.03em;
  margin: 0 0 30px;
}
.kg-contact-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 46ch;
  margin: 0 0 40px;
  text-wrap: pretty;
}
.kg-contact-links { display: flex; flex-direction: column; gap: 14px; }
.kg-contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  color: var(--text);
  transition: border-color .3s ease;
}
.kg-contact-link:hover { border-color: rgba(214, 251, 81, .5); color: var(--text); }
.kg-contact-icon { font-size: 22px; }
.kg-contact-icon-in { font-weight: 800; font-family: var(--display); }
.kg-contact-kind {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.kg-contact-value { font-size: 19px; font-weight: 600; }

.kg-form-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
  padding: 38px 34px;
}
.kg-form-card h3 { font-family: var(--display); font-weight: 700; font-size: 24px; margin: 0 0 6px; }
.kg-form-hint { color: var(--text-dim); font-size: 14px; margin: 0 0 26px; }
.kg-form { display: flex; flex-direction: column; gap: 16px; }
.kg-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #B7B7B0;
  font-weight: 500;
}
.kg-form input,
.kg-form textarea {
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
}
.kg-form textarea { resize: vertical; }
.kg-form-submit {
  margin-top: 6px;
  padding: 16px 24px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: background .25s ease;
}
.kg-form-submit:hover { background: var(--accent-soft); }
.kg-form-note { margin: 0; min-height: 20px; font-size: 14px; color: var(--accent); }

/* ---------- Footer ---------- */
.kg-footer {
  border-top: 1px solid var(--line);
  padding: 56px 5vw 44px;
  background: var(--bg);
}
.kg-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.kg-footer-brand { display: flex; align-items: center; gap: 14px; }
.kg-footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  font-family: var(--display);
  font-weight: 800;
}
.kg-footer-name { font-family: var(--display); font-weight: 700; font-size: 18px; }
.kg-footer-tagline { color: #7c7c76; font-size: 14px; }
.kg-footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; }
.kg-footer-nav a { color: #B7B7B0; }
.kg-footer-nav a:hover { color: var(--accent); }
.kg-footer-copy { color: #5f5f59; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .kg-hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .kg-hero-photo { width: min(70vw, 420px); }
  .kg-contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .kg-clients-grid { grid-template-columns: repeat(2, 1fr); }
  .kg-process-step { grid-template-columns: 72px 1fr; gap: 18px; padding: 30px 12px; }
}
@media (max-width: 640px) {
  .kg-nav-link { display: none; }
  .kg-clients-grid { grid-template-columns: 1fr; }
  .kg-work-card { width: 86vw; }
}

/* ---------- Legal / prose pages (privacy policy) ---------- */
.kg-legal { padding-top: clamp(140px, 16vw, 220px); }
.kg-legal-inner { max-width: 760px; margin: 0 auto; }
.kg-legal h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  margin: 10px 0 8px;
}
.kg-legal-updated { color: var(--text-dim); font-size: 14px; margin: 0 0 40px; }
.kg-legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  margin: 44px 0 12px;
}
.kg-legal p, .kg-legal li {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}
.kg-legal p { margin: 0 0 16px; }
.kg-legal ul { margin: 0 0 16px; padding-left: 22px; }
.kg-legal li { margin-bottom: 10px; }
.kg-legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.kg-legal a:hover { text-decoration: none; }
