/* User-requested removal of template sales and third-party promotion. */
#__framer-badge-container,
.__framer-badge,
a[href*="framer.link"],
a[href*="framer.com"],
a[href*="nick404.com/templates/"],
div[class$="-container"]:has(> a[href*="framer.link"]),
div[class$="-container"]:has(> a[href*="nick404.com/templates/"]) {
  display: none !important;
}

/* Extended wallpaper fills the desktop without distortion or side bands. */
img[src*="/personal/desktop-coastal-wide.png"] {
  object-fit: cover !important;
  object-position: center center !important;
}

/* Home availability message replaces the duplicate email link. */
.framer-jPBNa .framer-19brwkj p {
  white-space: pre-line;
}
.framer-jPBNa .framer-1uvmw9i-container {
  display: none !important;
}
.framer-jPBNa [data-framer-name="Portfolio CTA"] {
  display: none !important;
}
.framer-jPBNa .framer-1182yoo p {
  white-space: pre-line;
}
.framer-jPBNa .framer-1182yoo p::first-line {
  font-weight: bold;
}

/* Professional contact copy and direct actions in the original retro window. */
.framer-sjv7z .framer-yyvtt6 {
  width: min(600px, calc(100vw - 32px)) !important;
  height: 500px !important;
  max-height: calc(100dvh - 110px);
}
.framer-sjv7z .framer-178ul75 {
  padding: 36px 44px !important;
  gap: 36px !important;
}
.framer-sjv7z .framer-1g4psmc { gap: 16px !important; }
.framer-sjv7z .framer-kgybmb { gap: 12px !important; }
@media (max-width: 600px) {
  .framer-sjv7z .framer-178ul75 {
    padding: 28px 24px !important;
    gap: 28px !important;
  }
}
.framer-1ead1cq p { white-space: pre-line; }
.contact-email {
  color: inherit;
  font: inherit;
  text-decoration: none;
}
.contact-email:hover { text-decoration: underline; }
.contact-profile-link {
  color: #000080;
  font: 17px/20px Georgia, serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-email:focus-visible,
.contact-profile-link:focus-visible {
  outline: 2px dotted #000080;
  outline-offset: 4px;
}

/* Home project sequence: Civitas, Blankmind, basketball. */
.framer-jPBNa .framer-mq3q11:has(a[href$="/foodspot"]) { order: 1; }
.framer-jPBNa .framer-mq3q11:has(a[href$="/papernote"]) { order: 2; }
.framer-jPBNa .framer-mq3q11:has(a[href$="/zeto"]),
.framer-jPBNa .framer-mq3q11:has(a[href$="/wiki/Guillem_Arcos"]) { order: 3; }

/* Portfolio follows the same project sequence as Home. */
.framer-1anhruu > .framer-r0c93p { order: 4; }
.framer-1anhruu > .framer-r0c93p:has(a[href$="/foodspot"]) { order: 1; }
.framer-1anhruu > .framer-r0c93p:has(a[href$="/papernote"]) { order: 2; }
.framer-1anhruu > .framer-r0c93p:has(a[href$="/zeto"]),
.framer-1anhruu > .framer-r0c93p:has(a[href$="/wiki/Guillem_Arcos"]) { order: 3; }
.framer-1anhruu > .framer-r0c93p:has(a[href$="/fluido"]) { display: none !important; }

/* Keep the technology logos on a crisp pixel grid. */
#tools [data-framer-name="Tool Logo"] img {
  image-rendering: pixelated;
}

/* Additional project copy uses the original left column and type scale. */
[data-civitas-detail] h2,
[data-blankmind-detail] h2 {
  margin: 20px 0 8px;
  font: bold 17px/20px Georgia, serif;
}
[data-civitas-detail] p,
[data-blankmind-detail] p {
  margin: 0;
}

/* Project images share the window's scroll with the description. */
[data-framer-name="Images container"] {
  flex: 0 0 auto !important;
  height: auto !important;
  overflow: visible !important;
}

/* Project details are self-contained, without a trailing external action. */
[data-framer-name="Info"] > .framer-1e263qh-container {
  display: none !important;
}

/* End the description at the final image. */
@media (min-width: 1200px) {
  [data-framer-name="Info"][style*="--project-copy-height"] {
    height: var(--project-copy-height) !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  [data-framer-name="Info"][style*="--project-copy-height"] > [data-framer-name="Text"],
  [data-framer-name="Info"]:has([data-civitas-detail], [data-blankmind-detail]) .framer-tgrem8 {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    gap: 12px;
  }
  [data-civitas-detail],
  [data-blankmind-detail] {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    justify-content: space-between;
    gap: 12px;
  }
  [data-civitas-detail] h2,
  [data-blankmind-detail] h2 {
    margin-top: 0;
  }
}

