/* Hide Framer watermark / Made in Framer badge */
#__framer-badge-container,
.__framer-badge,
.framer-dxyzey-container,
.framer-1jsq9d6-container,
a[href*="framer.com/projects/new?duplicate="] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/*
  Work History wrapping ONLY — do NOT target shared Framer names like
  Top / Bottom / Texts / Text 1 / Text 2 (buttons use those for horizontal hover).
*/
.jdabs-work-card [data-framer-name="Company"],
.jdabs-work-card [data-framer-name="Position"],
.jdabs-work-card [data-framer-name="Position/Year"],
.jdabs-work-card [data-framer-name="Description"] {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
}

.jdabs-work-card [data-framer-name="Company"] h5,
.jdabs-work-card [data-framer-name="Position"] h6,
.jdabs-work-card [data-framer-name="Position/Year"] p,
.jdabs-work-card [data-framer-name="Description"] p {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

/*
  Keep Framer CTA *link* buttons horizontal on hover.
  Do NOT target bare [data-framer-name="Primary|Secondary"] — testimonial
  cards and other stacked blocks reuse those names and break if forced to row.
*/
a[data-framer-name="Primary"],
a[data-framer-name="Secondary"] {
  flex-direction: row !important;
}

a[data-framer-name="Primary"] [data-framer-name="Texts"],
a[data-framer-name="Secondary"] [data-framer-name="Texts"] {
  white-space: nowrap !important;
  min-width: unset !important;
  max-width: none !important;
  overflow: hidden !important;
}

a[data-framer-name="Primary"] [data-framer-name="Text 1"],
a[data-framer-name="Primary"] [data-framer-name="Text 2"],
a[data-framer-name="Secondary"] [data-framer-name="Text 1"],
a[data-framer-name="Secondary"] [data-framer-name="Text 2"] {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  max-width: none !important;
}

/* Testimonial cards only (outer .framer-28t5f) — not nested star/Primary rows */
[data-framer-name="Testimonial Cards"] > [class$="-container"] > .framer-28t5f {
  flex-direction: column !important;
  overflow: visible !important;
}

[data-framer-name="Testimonial Cards"] [data-framer-name="BodyText"],
[data-framer-name="Testimonial Cards"] [data-framer-name="BodyText"] p {
  white-space: normal !important;
  overflow: visible !important;
  max-width: 100% !important;
}

@media (max-width: 809px) {
  .jdabs-work-card [data-framer-name="Company"] h5 {
    font-size: clamp(18px, 5.2vw, 28px) !important;
    line-height: 1.25 !important;
  }

  .jdabs-work-card [data-framer-name="Position"] h6 {
    font-size: clamp(16px, 4.6vw, 24px) !important;
    line-height: 1.3 !important;
  }

  .jdabs-work-card [data-framer-name="Description"] p {
    font-size: clamp(14px, 3.8vw, 16px) !important;
    line-height: 1.45 !important;
  }
}

@media (min-width: 810px) and (max-width: 1199px) {
  .jdabs-work-card [data-framer-name="Company"] h5 {
    line-height: 1.25 !important;
  }

  .jdabs-work-card [data-framer-name="Position"] h6 {
    line-height: 1.3 !important;
  }
}

/* Blast Awards — relevant SVG icons in existing icon slots */
.jdabs-award-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #090909;
  pointer-events: none;
}

.jdabs-award-icon svg {
  width: 58%;
  height: 58%;
  display: block;
}

[data-framer-name="Icon"] .jdabs-award-icon svg {
  width: 16px;
  height: 16px;
}

/* Hide leftover Framer tech section that leaves a huge empty gap before footer */
[data-framer-name="Technological Stacks"] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.jdabs-tech-root {
  width: 100%;
  max-width: 1080px;
  margin: 36px auto 8px;
  padding: 0 20px 0;
  box-sizing: border-box;
  font-family: "Inter Display", "Inter Display Placeholder", "Inter", sans-serif;
  color: #7f7f80;
}

.jdabs-tech-category {
  margin: 0 0 72px;
  padding: 28px 0 20px;
}

.jdabs-tech-category:last-of-type {
  margin-bottom: 40px;
}

/* Match Work History position type; category/skills titles in black */
.jdabs-tech-category-title,
.jdabs-skills-title {
  margin: 0 0 36px;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 30px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -1px;
  line-height: 35px;
  text-align: center;
  color: #090909;
  font-feature-settings: "ss01" on, "ss02" on, "ss04" on, "ss07" on, "salt" on;
}

.jdabs-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 20px 10px;
  justify-items: center;
  align-items: start;
}

.jdabs-tech-item {
  width: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.jdabs-tech-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pure logo — no box/container */
.jdabs-tech-logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  display: block;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transition: transform 0.28s ease;
  transform-origin: center center;
  will-change: transform;
}

.jdabs-tech-item.is-visible:hover,
.jdabs-tech-item.is-visible:focus-within {
  z-index: 2;
}

.jdabs-tech-item.is-visible:hover .jdabs-tech-logo,
.jdabs-tech-item.is-visible:focus-within .jdabs-tech-logo {
  transform: scale(calc(80 / 65)); /* 65 + 15 */
}

.jdabs-tech-logo-fallback {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  font-family: "Inter Display", "Inter Display Placeholder", "Inter", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: #ff462e;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.28s ease;
  transform-origin: center center;
}

.jdabs-tech-item.is-visible:hover .jdabs-tech-logo-fallback,
.jdabs-tech-item.is-visible:focus-within .jdabs-tech-logo-fallback {
  transform: scale(calc(80 / 65));
}

.jdabs-tech-name {
  margin: 0;
  font-family: "Inter Display", "Inter Display Placeholder", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.1px;
  line-height: 16px;
  text-align: center;
  color: #7f7f80;
  max-width: 92px;
  word-break: break-word;
}

.jdabs-skills {
  margin: 12px auto 0;
  max-width: 920px;
  padding: 16px 16px 0;
  box-sizing: border-box;
}

.jdabs-skills-title {
  margin: 0 0 20px;
}

.jdabs-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jdabs-skills-grid li {
  position: relative;
  padding-left: 1.1em;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 30px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -1px;
  line-height: 35px;
  color: #090909;
  font-feature-settings: "ss01" on, "ss02" on, "ss04" on, "ss07" on, "salt" on;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  list-style: none;
}

.jdabs-skills-grid li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.jdabs-skills-grid li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #090909;
  font-weight: 700;
  line-height: 35px;
}

@media (max-width: 809px) {
  .jdabs-tech-root {
    margin-top: 28px;
    padding: 0 14px;
  }

  .jdabs-tech-category {
    margin-bottom: 56px;
    padding: 20px 0 14px;
  }

  .jdabs-tech-category-title,
  .jdabs-skills-title {
    margin-bottom: 28px;
  }

  .jdabs-tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 18px 8px;
  }

  .jdabs-tech-item {
    width: 78px;
  }

  .jdabs-tech-name {
    max-width: 78px;
    font-size: 11px;
    line-height: 14px;
  }

  .jdabs-skills {
    padding-top: 18px;
  }

  .jdabs-tech-category-title,
  .jdabs-skills-title,
  .jdabs-skills-grid li {
    font-size: clamp(18px, 5vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.8px;
  }

  .jdabs-skills-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (min-width: 810px) and (max-width: 1199px) {
  .jdabs-tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 18px 10px;
  }

  .jdabs-tech-category-title,
  .jdabs-skills-title,
  .jdabs-skills-grid li {
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.2;
  }

  .jdabs-skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jdabs-tech-item,
  .jdabs-skills-grid li,
  .jdabs-tech-logo,
  .jdabs-tech-logo-fallback {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .jdabs-tech-item.is-visible:hover .jdabs-tech-logo,
  .jdabs-tech-item.is-visible:focus-within .jdabs-tech-logo,
  .jdabs-tech-item.is-visible:hover .jdabs-tech-logo-fallback,
  .jdabs-tech-item.is-visible:focus-within .jdabs-tech-logo-fallback {
    transform: none;
  }
}

/* Under-development modal */
.jdabs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(10, 12, 15, 0.45);
  display: grid;
  place-items: center;
  padding: 20px;
  box-sizing: border-box;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: jdabs-fade-in 0.25s ease;
}

.jdabs-modal {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  font-family: "Inter Display", "Inter Display Placeholder", "Inter", sans-serif;
  color: #1a1a1a;
}

.jdabs-modal h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.jdabs-modal p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
}

.jdabs-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.jdabs-modal-ok {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #f9452c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
}

.jdabs-modal-ok:hover {
  filter: brightness(0.96);
}

.jdabs-modal-ok:focus-visible {
  outline: 2px solid #f9452c;
  outline-offset: 2px;
}

@keyframes jdabs-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
