/* ============================================================
   Kitt — index (Home) page styles
   ============================================================ */

/* index uses a slightly wider section rhythm than the shared 120px */
section { padding: 140px 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 5px; height: 5px;
  border-radius: 50%; background: var(--ink);
}

/* ---------- HERO ---------- */
section.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 0 120px;
  position: relative;
}
.hero-meta-top {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 40px;
  display: flex; align-items: center; gap: 14px;
}
.hero-meta-top span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta-top .dot::before {
  content: ""; width: 5px; height: 5px;
  border-radius: 50%; background: var(--ink);
  display: inline-block;
}
.hero-meta-top .sep {
  width: 24px; height: 1px;
  background: var(--muted-2);
  display: inline-block;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(54px, 10vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 40px;
}
.hero h1 .line { display: block; }
.hero h1 .reveal-text {
  display: inline-block;
  padding-bottom: 0.22em;
  color: var(--ink);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 50%);
          mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 50%);
  -webkit-mask-size: 200% 100%;
          mask-size: 200% 100%;
  -webkit-mask-position: 100% 0;
          mask-position: 100% 0;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  animation: wipe-in 1.2s cubic-bezier(.6, .1, .2, 1) both;
}
.hero h1 .line:nth-child(2) .reveal-text { animation-delay: .35s; }
@keyframes wipe-in {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to   { -webkit-mask-position:   0% 0; mask-position:   0% 0; }
}
.hero h1 .signature {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'WONK' 1;
  letter-spacing: -0.015em;
  font-size: 1.06em;
}
.hero p {
  font-size: clamp(15px, 1.25vw, 17px);
  color: var(--ink-2);
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.7;
  animation: fadein 1s 1.3s both;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.hero-cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: 20px;
  animation: fadein 1s 1.5s both;
}
.cta-primary {
  display: inline-flex; align-items: center; gap: 20px;
  background: var(--ink); color: var(--paper);
  padding: 14px 14px 14px 44px;
  border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.cta-primary .arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
  transition: transform .3s;
}
.cta-primary:hover .arrow { transform: rotate(-45deg); }

.hero-trust {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.15em;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 14px;
  animation: fadein 1s 1.7s both;
}
.hero-trust .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
  display: inline-block;
}

.hero-foot {
  position: absolute;
  bottom: 40px; left: 0; right: 0;
  display: flex; justify-content: center; align-items: center;
  padding: 0 40px;
  animation: fadein 1s 2s both;
}
.hero-foot .scroll { display: flex; align-items: center; gap: 12px; }
.hero-foot .scroll::after {
  content: "";
  width: 1px; height: 32px;
  background: var(--ink);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50%      { transform: scaleY(1); transform-origin: top; }
  51%      { transform-origin: bottom; }
  100%     { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 768px) {
  .hero-foot { padding: 0 20px; font-size: 9px; }
}

/* ---------- PROBLEM ---------- */
.problem h2 {
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.15;
  text-align: center;
  margin-bottom: 120px;
}
.problem h2 .fade { color: var(--muted-2); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 960px; margin: 0 auto;
}
.problem-item {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  position: relative;
}
.problem-item::before {
  content: ""; position: absolute;
  left: -1px; top: 0;
  width: 1px; height: 32px;
  background: var(--ink);
}
.problem-item p {
  font-size: 20px; font-weight: 600;
  line-height: 1.6; letter-spacing: -0.015em;
}
.problem-item:nth-child(2) p { color: var(--muted); }
.problem-item:nth-child(2)::before { display: none; }
@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- SOLUTION ---------- */
.solution { text-align: center; }
.solution h2 {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}
.solution h2 .quote { color: var(--muted-2); font-weight: 400; }
.solution .sub {
  font-size: 15px; color: var(--muted);
  font-weight: 500; margin-bottom: 120px;
}
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 960px; margin: 0 auto;
  text-align: left;
}
.solution-item {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  position: relative;
}
.solution-item::before {
  content: ""; position: absolute;
  left: -1px; top: 0;
  width: 1px; height: 32px;
  background: var(--ink);
}
.solution-item p {
  font-size: 22px; font-weight: 700;
  line-height: 1.55; letter-spacing: -0.02em;
}
.solution-item:nth-child(2) p {
  color: var(--muted);
  font-weight: 500;
  font-size: 19px;
}
.solution-item:nth-child(2)::before { background: var(--muted-2); }
@media (max-width: 768px) {
  .solution-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- SERVICES (carousel) ---------- */
.services-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap; gap: 24px;
}
.services-head h2 {
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 900; letter-spacing: -0.05em; line-height: 0.95;
}
.services-head .desc {
  max-width: 480px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  text-align: right;
}

.services-controls {
  display: flex; justify-content: flex-end; align-items: center;
  margin-bottom: 32px;
}
.services-controls .right { display: flex; align-items: center; gap: 20px; }

.progress-dots { display: flex; gap: 8px; }
.progress-dots .d {
  width: 28px; height: 2px;
  background: var(--muted-2);
  transition: background .3s;
}
.progress-dots .d.active { background: var(--ink); }

.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, color .2s;
}
.carousel-arrows button:hover {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.carousel-arrows button:disabled { opacity: .3; }
.carousel-arrows button:disabled:hover {
  background: var(--paper); color: var(--ink); border-color: var(--line);
}

.services-track-wrap { overflow: hidden; cursor: grab; }
.services-track-wrap:active { cursor: grabbing; }
.services-track {
  display: flex; gap: 24px;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.svc-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 44px;
  min-height: 440px;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.svc-card .head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: auto;
}
.svc-card .num {
  font-family: var(--mono);
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.1em;
}
.svc-card .num strong { color: var(--ink); font-weight: 500; }
.svc-card .tag {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--muted);
}
.svc-card .body { margin-top: 32px; }
.svc-card h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.2; margin-bottom: 18px;
}
.svc-card p {
  font-size: 15px; line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.svc-card .features { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-card .features span {
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .svc-card { flex: 0 0 100%; padding: 32px 28px; min-height: 380px; }
  .services-head .desc { text-align: left; }
  .services-controls .left { display: none; }
}

/* ---------- PROCESS ---------- */
.process { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.process-left { position: sticky; top: 120px; align-self: flex-start; }
.process-left .eyebrow { margin-bottom: 32px; }
.process-left h2 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.1;
}
.process-left h2 .fade { color: var(--muted-2); }
.hi { color: var(--accent); }

.process-steps {
  display: flex; flex-direction: column; gap: 80px;
  position: relative; padding-left: 40px;
}
.process-steps::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--line);
}
.process-fill {
  position: absolute;
  left: 0; top: 0;
  width: 1px; background: var(--ink);
  height: 0; transition: height .25s ease;
}
.step { position: relative; }
.step::before {
  content: ""; position: absolute;
  left: -46px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--muted-2);
  transition: border-color .4s ease, background .4s ease;
}
.step.reached::before {
  background: var(--ink); border-color: var(--ink);
}
.step .num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--muted);
  margin-bottom: 12px;
  transition: color .4s ease;
}
.step.reached .num { color: var(--ink); }
.step h3 {
  font-size: 32px; font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 20px;
  color: var(--ink-2);
  transition: color .4s ease;
}
.step.reached h3 { color: var(--ink); }
.step p {
  font-size: 15px; line-height: 1.8;
  color: var(--muted); max-width: 480px;
  transition: color .4s ease;
}
.step.reached p { color: var(--ink-2); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 48px; }
  .process-left { position: static; }
}

/* ---------- WORK (dark section) ---------- */
.work {
  background: var(--bg-dark);
  color: var(--paper);
  padding: 160px 0;
  position: relative; overflow: hidden;
}
.work .eyebrow { color: var(--muted); }
.work .eyebrow::before { background: var(--paper); }

.work-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 80px;
  flex-wrap: wrap; gap: 24px;
}
.work-head h2 {
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 900; letter-spacing: -0.05em; line-height: 1;
}
.work-head .desc {
  max-width: 560px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--muted); text-align: right;
}

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  display: block; color: var(--paper);
  border-radius: 16px; overflow: hidden;
  background: #141414;
  border: 1px solid var(--line-dark);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.work-card:hover { transform: translateY(-6px); }
.work-card .visual { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.work-card .visual .bg {
  position: absolute; inset: 0;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.work-card:hover .visual .bg { transform: scale(1.06); }
.work-card .visual .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.work-card .visual .mark {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -0.045em;
  color: var(--paper);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.work-card:hover .visual .mark { transform: translateY(-4px); }
.work-card .visual .mark .light { font-weight: 300; color: var(--muted-2); }
.work-card .visual .corner {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  backdrop-filter: blur(6px);
  transition: background .3s, transform .3s;
  z-index: 2;
}
.work-card:hover .visual .corner { background: var(--paper); transform: rotate(-45deg); }
.work-card:hover .visual .corner svg { stroke: var(--ink); }
.work-card .visual .index {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  z-index: 2;
}
.work-card .visual.v-workkitt .bg { background: linear-gradient(135deg, #2c2c2c 0%, #0a0a0a 100%); }
.work-card .visual.v-sellkitt .bg { background: linear-gradient(135deg, #252525 0%, #0a0a0a 60%, #1a1a1a 100%); }
.work-card .visual.v-cold     .bg { background: linear-gradient(135deg, #202020 0%, #0a0a0a 100%); }

.work-card .meta { padding: 24px 24px 28px; }
.work-card .tag {
  display: inline-block;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 14px;
}
.work-card h3 {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 10px; line-height: 1.35;
  transition: color .3s;
}
.work-card:hover h3 { color: var(--accent); }
.work-card .blurb {
  font-size: 13px; color: var(--muted-2);
  line-height: 1.6; min-height: 42px;
}
.work-card .foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card:nth-child(3) { grid-column: auto; }
  .work-head .desc { text-align: left; }
}

.view-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--paper);
  margin-top: 60px;
  transition: color .2s;
}
.view-all:hover { color: var(--accent); }
.view-all .arr { transition: transform .3s; }
.view-all:hover .arr { transform: translate(4px, -4px); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.faq-left h2 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.1;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); padding: 28px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.faq-q .q {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
  transition: color .2s;
}
.faq-item:hover .faq-q .q { color: var(--accent); }
.faq-q .ic {
  width: 24px; height: 24px;
  color: var(--muted);
  transition: transform .3s, color .3s;
  flex-shrink: 0;
}
.faq-item:hover .faq-q .ic { color: var(--accent); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, margin-top .3s; }
.faq-item.open .faq-a { max-height: 360px; margin-top: 18px; }
.faq-a p { font-size: 15px; line-height: 1.8; color: var(--ink-2); max-width: 680px; }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- CONTACT ---------- */
.contact h2 {
  font-size: clamp(56px, 12vw, 180px);
  font-weight: 900; letter-spacing: -0.05em; line-height: 0.9;
  margin-bottom: 80px;
}
.contact h2 .fade { color: var(--muted-2); display: block; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.contact-info .label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--muted);
  margin-bottom: 14px;
}
.contact-info .val {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 36px; line-height: 1.4;
}
.contact-info .val.addr {
  font-size: 15px; font-weight: 500;
  color: var(--ink-2); line-height: 1.7;
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color .2s, background .2s;
}
.field:hover { border-color: var(--muted-2); }
.field:focus-within { border-color: var(--ink); }
.field label {
  font-size: 12px; font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.field input, .field select, .field textarea {
  border: none; background: none; outline: none;
  font-family: inherit;
  font-size: 15px; color: var(--ink);
  padding: 0; resize: vertical; cursor: none;
  width: 100%;
}
.field textarea { min-height: 88px; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }

.form-submit {
  grid-column: 1 / -1;
  display: flex; justify-content: flex-end;
  margin-top: 16px;
}
.form-submit button {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper);
  padding: 18px 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: transform .2s;
}
.form-submit button:hover { transform: translateY(-2px); }
.form-submit button:disabled { opacity: .55; pointer-events: none; }

/* Honeypot — kept off-screen for real users, visible to bots */
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Contact form status message */
.form-status { display: none; margin-top: 16px; font-size: 14px; line-height: 1.5; }
.form-status:not(:empty) { display: block; }
.form-status.is-pending { color: var(--muted); }
.form-status.is-success { color: #1a7f55; }
.form-status.is-error { color: #c0392b; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE PASS — index
   ============================================================ */
@media (max-width: 768px) {
  section { padding: 80px 0; }

  section.hero { min-height: auto; padding: 120px 0 100px; }
  .hero-meta-top { gap: 8px; margin-bottom: 28px; font-size: 10px; }
  .hero h1 { line-height: 1; margin-bottom: 28px; }
  .hero p { margin-bottom: 40px; }
  .hero-cta-row { gap: 20px; margin-bottom: 16px; }
  .hero-trust { gap: 10px; font-size: 10px; }
  .hero-foot { display: none; }

  .cta-primary {
    padding: 12px 12px 12px 28px;
    gap: 14px;
    font-size: 15px;
  }
  .cta-primary .arrow { width: 32px; height: 32px; }

  .problem h2 { margin-bottom: 64px; }
  .solution .sub { margin-bottom: 64px; }

  .problem-item,
  .solution-item {
    border-left: none;
    padding-left: 0;
  }
  .problem-item::before,
  .solution-item::before { display: none; }

  .services-head { margin-bottom: 32px; }
  .services-controls { margin-bottom: 24px; }
  .svc-card { padding: 32px 24px; min-height: 360px; border-radius: 20px; }
  .carousel-arrows button { width: 40px; height: 40px; }

  .process-steps { gap: 56px; padding-left: 32px; }
  .step::before { left: -38px; }
  .step h3 { font-size: 26px; }

  .work { padding: 100px 0; }
  .work-head { margin-bottom: 56px; }

  .faq { gap: 32px; }
  .faq-left h2 { font-size: 36px; }
  .faq-item { padding: 22px 0; }

  .contact h2 { margin-bottom: 56px; }
  .form .full { grid-column: auto; }
  .form-submit button { padding: 16px 24px; font-size: 13px; }
}
