@import url(../css/nav-links.css);

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: clip;
  background-color: #f5f5f0;
}

::selection {
  background-color: transparent;
  color: #c8d772;
}

.pd-lime .pd-focused-row ::selection, .pd-lime .pd-lime__capabilities ::selection, .pd-lime .pd-focused-label::selection {
  color: #929d53;
}

/* ─────────────────────────────────────────
Header / Nav
───────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 48px;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
}

.logoDiv {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.logoText {
  flex-shrink: 0;
  width: 80px;
  height: 30px;
  background: url("../images/kido.svg") no-repeat center / contain;
}

.logoText a {
  display: block;
  width: 100%;
  height: 100%;
}

.linksDiv {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-grow: 1;
  justify-content: center;
  height: 100%;
}

.svc-nav-btn {
  font-family: "haas", sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  color: #1c1c1c;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  -webkit-font-smoothing: antialiased;
}

.svc-nav-btn:hover {
  color: #888888;
}

.roundButton {
  font-family: "haas", sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  color: #1c1c1c;
  background: #ffffff;
  border: 2px solid #1c1c1c;
  border-radius: 999px;
  padding: 4px 16px 1px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.roundButton:hover {
  background: #1c1c1c;
  color: #ffffff;
}

@keyframes dropdownItemIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.index-svc-dropdown {
  position: fixed;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.index-svc-dropdown.open {
  opacity: 1;
  pointer-events: all;
}

.index-svc-dropdown a {
  font-family: "haas", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #181818;
  background: #e4e4e4;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px 10px;
  white-space: nowrap;
  display: block;
  width: fit-content;
  opacity: 0;
  transform: translateY(-6px);
}

.index-svc-dropdown.open a {
  animation: dropdownItemIn 0.2s ease forwards;
}

.index-svc-dropdown.open a:nth-child(1) { animation-delay: 0ms; }
.index-svc-dropdown.open a:nth-child(2) { animation-delay: 55ms; }
.index-svc-dropdown.open a:nth-child(3) { animation-delay: 110ms; }
.index-svc-dropdown.open a:nth-child(4) { animation-delay: 165ms; }
.index-svc-dropdown.open a:nth-child(5) { animation-delay: 220ms; }

.index-svc-dropdown a:hover {
  background: #2c2c2c;
  color: #f5f5f0;
}

.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
}

.mobile-header__logo {
  width: 60px;
  height: 22px;
  background: url("../images/kido.svg") no-repeat center / contain;
}

.mobile-header__logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.mobile-menu-btn {
  font-family: "haas", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #181818;
  background: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px 8px;
  cursor: pointer;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #ffffff;
  padding: 0 24px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s 0.55s;
}

.mobile-menu.open {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  pointer-events: auto;
  transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s 0s;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  flex-shrink: 0;
}

.mobile-menu__logo {
  width: 60px;
  height: 22px;
  background: url("../images/kido.svg") no-repeat center / contain;
}

.mobile-menu__logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.mobile-menu-btn--open {
  background: #181818;
  color: #f5f5f0;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.mobile-menu__nav > a,
.mobile-menu__services-label,
.mobile-menu__sub {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease,
    transform 0.3s ease;
}

.mobile-menu.open .mobile-menu__nav > a,
.mobile-menu.open .mobile-menu__services-label,
.mobile-menu.open .mobile-menu__sub {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu__nav > a:nth-child(1) {
  transition-delay: 0.25s;
}

.mobile-menu.open .mobile-menu__nav > *:nth-child(2) {
  transition-delay: 0.32s;
}

.mobile-menu.open .mobile-menu__nav > *:nth-child(3) {
  transition-delay: 0.39s;
}

.mobile-menu.open .mobile-menu__nav > *:nth-child(4) {
  transition-delay: 0.46s;
}

.mobile-menu.open .mobile-menu__nav > *:nth-child(5) {
  transition-delay: 0.53s;
}

.mobile-menu__nav > a,
.mobile-menu__services-label {
  font-family: "haas", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #181818;
  text-decoration: none;
  padding: 16px 0;
  text-transform: uppercase;
  display: block;
}

.mobile-menu__services-label {
  padding-bottom: 8px;
}

.mobile-menu__sub {
  border-left: 2px solid #181818;
  padding-left: 20px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
}

.mobile-menu__sub a {
  font-family: "haas", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #181818;
  text-decoration: none;
  padding: 10px 0;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────
Hero Section
───────────────────────────────────────── */
.pd-hero {
  background: #ffffff;
  text-align: center;
  padding: clamp(60px, 7.3vw, 140px) clamp(24px, 6.25vw, 120px)
  clamp(48px, 5.2vw, 100px);
}

.pd-hero__title {
  font-family: "haas", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #181818;
}

.pd-hero__tagline {
  font-family: "haas", sans-serif;
  font-size: clamp(15px, 1.46vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #181818;
  max-width: 35.3em;
  margin: 0 auto;
  text-wrap: balance;
}

/* ─────────────────────────────────────────
Lime Section
───────────────────────────────────────── */
.pd-lime {
  background: #e8fa84;
}

.pd-lime__capabilities {
  padding: clamp(48px, 3.44vw, 66px) clamp(24px, 4.27vw, 82px) 0;
}

.pd-lime__cap-label {
  color: #212121;
  margin-bottom: clamp(32px, 3.75vw, 72px);
  display: block;
  margin-left: calc(clamp(160px, 14.6vw, 280px) - clamp(24px, 4.27vw, 82px));
}

.pd-lime__body {
  font-family: "haas", sans-serif;
  font-size: clamp(22px, 3.3vw, 71px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #181818;
  text-align: center;
  max-width: 70%;
  margin: 0 auto clamp(32px, 3.5vw, 68px);
  margin-bottom: 7.5vw;
}

.pd-lime__bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 0.52vw, 10px) clamp(24px, 3.125vw, 60px);
  max-width: 60%;
  margin: 0 auto;
  padding-bottom: clamp(60px, 7.3vw, 140px);
}

.pd-lime__bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: "haas-text", sans-serif;
  font-size: clamp(15px, 1.46vw, 28px);
  font-weight: 400;
  color: #181818;
  line-height: 1.1;
  padding: 4px 0;
}

.pd-lime__bullet-dot {
  flex-shrink: 0;
  width: clamp(16px, 1.46vw, 26px);
  height: clamp(16px, 1.46vw, 26px);
  margin-top: 0.05em;
}

/* ─────────────────────────────────────────
Focused Rows
───────────────────────────────────────── */
.pd-focused-label {
  display: block;
  color: #212121;
  padding-top: clamp(20px, 2.6vw, 50px);
  padding-right: clamp(24px, 4.27vw, 82px);
  padding-bottom: clamp(20px, 2.6vw, 50px);
  padding-left: clamp(160px, 14.6vw, 280px);
}

.pd-focused-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(320px, 41.25vw, 792px);
}

.pd-focused-divider {
  display: none;
}

.pd-focused-row + .pd-focused-row {
  min-height: clamp(280px, 32.85vw, 631px);
}

.pd-lime .pd-focused-row:not(:has( ~ .pd-focused-row)) {
  padding-bottom: clamp(40px, 5.2vw, 100px);
}

.pd-focused-illus {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 5vw, 96px);
}

.pd-focused-illus img {
  max-width: 100%;
  max-height: clamp(220px, 28vw, 540px);
  object-fit: contain;
}

.pd-focused-illus svg {
  max-width: 100%;
  max-height: clamp(220px, 28vw, 540px);
  width: 100%;
  height: auto;
}

.pd-focused-row > .pd-focused-text:first-child {
  padding-left: clamp(160px, 14.6vw, 280px);
}

.pd-focused-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5.2vw, 100px) clamp(32px, 5.2vw, 100px);
}

.pd-focused-title {
  font-family: "haas", sans-serif;
  font-size: clamp(28px, 3.2vw, 71px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #181818;
  margin-bottom: clamp(16px, 1.25vw, 24px);
}

.pd-focused-desc {
  font-family: "haas-text", sans-serif;
  font-size: clamp(15px, 1.46vw, 28px);
  font-weight: 400;
  color: #181818;
  line-height: 1.3;
  max-width: 22em;
}

/* ─────────────────────────────────────────
Testimonial Strip
───────────────────────────────────────── */
.pd-testimonial {
  background: #181818;
  padding: clamp(64px, 7.3vw, 140px) clamp(24px, 6.25vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 3.125vw, 60px);
}

.pd-testimonial__quote {
  font-family: "haas", sans-serif;
  font-size: clamp(20px, 2.86vw, 55px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  max-width: min(58vw, 1112px);
}

.pd-testimonial__attribution {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 50px);
}

.pd-testimonial__person {
  font-family: "haas-text", sans-serif;
  font-size: clamp(13px, 0.94vw, 18px);
  font-weight: 400;
  color: #9a9a9a;
  line-height: 1.4;
}

.pd-testimonial__person strong {
  color: #ffffff;
  font-weight: 400;
  display: block;
}

.pd-testimonial__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
Selected Projects Section
───────────────────────────────────────── */
.selected-projects {
  background-color: #181818;
  color: #ffffff;
  padding-top: clamp(40px, 4vw, 80px);
}

.sp-label {
  margin-left: clamp(160px, 14.6vw, 280px);
  font-weight: 200;
  font-size: 15px;
  margin-top: 4px;
  color: #ffffff;
}

.sp-cards {
  display: flex;
  justify-content: space-between;
  padding: 0 4%;
  padding-bottom: 100px;
}

.sp-card {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  width: 32%;
  gap: 24px;
  margin-top: 60px;
}

.sp-card__img {
  width: 100%;
  overflow: hidden;
}

.sp-card img {
  width: 100%;
  display: block;
  transition: transform 300ms ease;
}

.sp-card:hover img {
  transform: scale(1.04);
}

.sp-card h2 {
  font-family: "haas-text", sans-serif;
  font-size: 17px;
  font-weight: 500;
  margin: 0;
}

.sp-card h3 {
  font-family: "haas-text", sans-serif;
  font-size: 26px;
  font-weight: 400;
  margin: 0;
  white-space: break-spaces;
}

.sp-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ─────────────────────────────────────────
Utility
───────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.geist-label {
  font-family: "Geist Mono", monospace;
  font-weight: 400;
  font-size: 14px;
}

/* ─────────────────────────────────────────
Footer
───────────────────────────────────────── */
footer.whiteSection {
  background-color: #f5f5f0;
  color: #000000;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.footer__kido {
  width: 96%;
  height: 18vw;
  background-image: url("../images/wearekido.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 120px;
  margin-bottom: 60px;
}

.footer__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 7vw);
  font-family: "haas", sans-serif;
  font-weight: 400;
  font-size: 0.8em;
  gap: 1em;
}

.footer__links-col {
  text-align: left;
  font-size: 1.5em;
  line-height: 1.4;
}

.footer__links-col a {
  display: block;
  font-size: 1.7em;
  color: #1c1c1c;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.footer__links-col a:hover {
  color: #888888;
}

.footer__links-col span {
  font-family: "haas-text", sans-serif;
  font-weight: 600;
  font-size: 1em;
}

.footer__hr {
  width: calc(100% - 7vw);
  margin-top: 4em;
  border: none;
  border-top: 1px solid #1c1c1c;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 7vw);
  padding: 1.5em 0 3em;
  font-family: "haas-text", sans-serif;
  font-size: 0.8em;
  color: #1c1c1c;
}

.footer__bottom-nav {
  display: flex;
  gap: 1em;
}

.footer__bottom-nav a {
  font-family: "haas", sans-serif;
  font-weight: 400;
  font-size: 1.5em;
  color: #1c1c1c;
  text-decoration: none;
}

.footer__bottom-nav a:hover {
  color: #888888;
}

.footer__copy {
  font-size: 1.4em;
}

/* ─────────────────────────────────────────
Tablet (≤900px)
───────────────────────────────────────── */
@media (max-width:900px) {
  .linksDiv a,
  .svc-nav-btn,
  .roundButton {
    font-size: 0.9em;
  }

  .linksDiv {
    gap: 20px;
  }
}

/* ─────────────────────────────────────────
Mobile (≤767px)
───────────────────────────────────────── */
@media (max-width:767px) {
  header {
    display: none;
  }
  
  .mobile-header {
    display: flex;
  }
  
  .pd-lime__body {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  
  .pd-lime__bullets {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  .pd-lime__bullet-dot {
    width: 16px;
    height: 16px;
    margin-top: 0;
  }
  
  .pd-focused-row {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  
  .pd-focused-row .pd-focused-illus {
    order: -1;
    padding: 40px 24px 24px;
  }
  
  .pd-focused-row .pd-focused-text {
    padding: 0 24px 40px;
  }
  
  .pd-focused-row > .pd-focused-text:first-child {
    padding-left: 24px;
  }
  
  .pd-lime__cap-label {
    margin-left: 0;
  }
  
  .pd-focused-label {
    padding-left: 24px;
  }
  
  .sp-label {
    margin-left: 24px;
  }
  
  .pd-focused-divider {
    display: block;
    border: none;
    border-top: 1px solid #181818;
    width: calc(100% - 48px);
    margin-inline: 24px;
  }
  
  .pd-testimonial__quote {
    max-width: unset;
  }
  
  .pd-testimonial__attribution {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  
  .sp-label {
    margin-left: 24px;
  }
  
  .sp-cards {
    flex-direction: column;
    padding: 0 24px;
    padding-bottom: 60px;
  }
  
  .sp-card {
    width: 100%;
  }
  
  .whiteSection {
    padding: 40px 24px;
  }
  
  .footer__kido {
    height: 24vw;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .footer__links {
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
    margin: 0 5%;
  }
  
  .footer__links-col {
    margin-top: 32px;
  }
  
  .footer__links-col span {
    font-size: 16px;
    font-weight: 100;
  }
  
  .footer__links-col a {
    font-size: 26px;
    letter-spacing: 0;
  }
  
  .footer__hr {
    width: 90%;
    margin-left: 5%;
    margin-top: 32px;
  }
  
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 90%;
    margin: 0 5%;
    padding-top: 1.5em;
    padding-bottom: 0;
  }
  
  .footer__copy {
    font-size: 12px;
  }
}

/* ─────────────────────────────────────────
Lime body — mobile overrides
───────────────────────────────────────── */
@media (max-width:767px) {
  .pd-lime__body {
    letter-spacing: 0;
    line-height: 1.2;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (min-width:1800px) {
  .footer__links {
    gap: 8em;
  }
}
