/* ============ KAID Collective — shared styles ============ */

:root {
  --onyx: #14110F;
  --garnet: #7A1620;
  --garnet-dark: #5c1018;
  --bone: #F7F4EE;
  --paper: #FFFFFF;
  --stone: #9C978F;
  --hairline: #E1DCCF;
  --white: #ffffff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--onyx);
  font-family: 'Public Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--onyx);
}
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 20px; font-weight: 600; }

p { margin: 0 0 1em; color: #3d3b36; }
a { color: var(--garnet); text-decoration: none; }
a:hover { text-decoration: underline; }

.subhead {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--stone);
  font-size: clamp(17px, 1.6vw, 21px);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--garnet);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--hairline);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px; position: relative;
}
.nav-wrap { display: flex; align-items: center; gap: 24px; }
.logo {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px;
  color: var(--onyx); letter-spacing: 0.01em; white-space: nowrap;
  display: flex; align-items: center; gap: 10px; flex: none;
}
.logo .mark {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--garnet); position: relative; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.logo .mark::before {
  content: "K"; font-size: 12px; color: var(--garnet);
}
nav.primary { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
nav.primary a.navlink {
  color: var(--onyx); font-size: 14px; font-weight: 500; margin-right: 22px; white-space: nowrap;
}
nav.primary a.navlink:last-child { margin-right: 0; }
nav.primary a.navlink:hover { color: var(--garnet); text-decoration: none; }
.nav-ctas { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--onyx); margin: 4px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; font-size: 14.5px; font-weight: 600;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  text-decoration: none !important;
}
.btn-primary { background: var(--garnet); color: var(--bone); }
.btn-primary:hover { background: var(--garnet-dark); }
.btn-outline { background: transparent; color: var(--onyx); border-color: var(--onyx); }
.btn-outline:hover { background: var(--onyx); color: var(--bone); }
.btn-ghost-light { background: transparent; color: var(--bone); border-color: var(--hairline); }
.btn-ghost-light:hover { background: var(--bone); color: var(--onyx); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero .eyebrow { }
.hero h1 { max-width: 620px; }
.hero .subhead { max-width: 560px; margin-bottom: 28px; }
.hero p.lede { max-width: 520px; font-size: 17px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-image-slot {
  border: 1px dashed var(--hairline);
  background: var(--paper);
  border-radius: 4px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* ---------- Client logo strip ---------- */
.clients { background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); overflow: hidden; }
.clients .wrap { padding: 40px 32px; }
.clients .eyebrow { text-align: center; display: block; }
.marquee { overflow: hidden; position: relative; width: 100%; }
.marquee-track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: scroll 28s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-name {
  font-family: 'Fraunces', serif; font-size: 20px; color: var(--stone);
  letter-spacing: 0.01em; margin-right: 64px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Domain / sector grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li {
  padding: 14px 0; border-bottom: 1px solid var(--hairline);
  font-size: 16px; color: var(--onyx); font-weight: 500;
}
ul.plain li:last-child { border-bottom: none; }
ul.plain.compact li { padding: 10px 0; font-weight: 400; color: #3d3b36; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--hairline);
  padding: 32px; border-radius: 2px;
}
.card h3 { margin-bottom: 10px; }

/* ---------- Dark band ---------- */
.band-dark { background: var(--onyx); color: var(--bone); }
.band-dark h2, .band-dark h1, .band-dark .subhead { color: var(--bone); }
.band-dark p { color: #cfccc4; }
.band-dark .eyebrow { color: #d98a94; }

.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); }
.split-cta > div { background: var(--onyx); color: var(--bone); padding: 56px 48px; }
.split-cta h3 { color: var(--bone); font-size: 24px; }
.split-cta p { color: #cfccc4; }

/* ---------- Forms ---------- */
form.contact-form { max-width: 560px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--onyx);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--hairline); background: var(--white); border-radius: 2px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--garnet);
}
.radio-row { display: flex; gap: 24px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14.5px; margin-right: 24px; }
.radio-row label input { margin-right: 8px; }
.radio-row input { width: auto; }

/* ---------- Footer ---------- */
footer.site { background: var(--onyx); color: var(--bone); padding: 56px 0 32px; }
footer.site .foot-top {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid #35322c;
}
footer.site .logo { color: var(--bone); }
footer.site .subhead { color: #b7afa0; margin-top: 8px; }
footer.site nav a { color: var(--bone); display: block; margin-bottom: 10px; font-size: 14.5px; }
footer.site .foot-bottom {
  display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: #8a8579;
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .split-cta, .hero-grid { grid-template-columns: 1fr; }
  .hero-image-slot, .hero-image { min-height: 220px; order: -1; }
}
@media (max-width: 1080px) {
  .nav-wrap { display: none; }
  .hamburger { display: block; }
  header.site.open .nav-wrap {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bone);
    padding: 20px 32px 24px; border-bottom: 1px solid var(--hairline);
  }
  header.site.open nav.primary { flex-direction: column; align-items: flex-start; gap: 14px; }
  header.site.open .nav-ctas { flex-direction: column; align-items: flex-start; width: 100%; }
}
