/* Shared acquisition primitives for problem-first private traveller front doors.
   Future photo slots deliberately ship without external imagery. */

.intent-frontdoor-proof {
  margin-top: 28px;
}

.intent-frontdoor-proof__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.intent-frontdoor-proof__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 18px 19px;
  border: 1px solid rgba(23, 68, 50, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: #18241d;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(21, 55, 39, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.intent-frontdoor-proof__card:nth-child(4n + 1) {
  clip-path: polygon(0 4%, 97% 0, 100% 92%, 4% 100%);
}

.intent-frontdoor-proof__card:nth-child(4n + 2) {
  clip-path: polygon(3% 0, 100% 5%, 96% 100%, 0 94%);
}

.intent-frontdoor-proof__card:nth-child(4n + 3) {
  clip-path: polygon(0 0, 96% 3%, 100% 100%, 3% 96%);
}

.intent-frontdoor-proof__card:nth-child(4n) {
  clip-path: polygon(4% 2%, 100% 0, 97% 96%, 0 100%);
}

.intent-frontdoor-proof__card:hover {
  border-color: rgba(47, 111, 78, 0.38);
  box-shadow: 0 14px 34px rgba(21, 55, 39, 0.1);
  transform: translateY(-2px);
}

.intent-frontdoor-proof__type {
  color: #2f6f4e;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.intent-frontdoor-proof__title {
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.35;
}

.intent-frontdoor-proof__location {
  overflow-wrap: anywhere;
  color: #69736d;
  font-size: 0.88rem;
  line-height: 1.4;
}

.intent-frontdoor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}

.intent-frontdoor-secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.intent-frontdoor-secondary-button:hover {
  transform: translateY(-1px);
}

.container-buddy-hero .intent-frontdoor-actions {
  margin-top: 27px;
}

.container-buddy-hero .intent-frontdoor-actions .container-buddy-button-primary {
  margin-top: 0;
}

.container-buddy-hero .intent-frontdoor-secondary-button {
  border-color: rgba(23, 63, 48, 0.34);
  color: var(--cb-forest);
}

.container-buddy-hero .intent-frontdoor-secondary-button:hover {
  background: rgba(47, 111, 78, 0.07);
}

/* A field-note/world-route break that can later receive a rights-cleared photo.
   The uneven mask avoids another generic rounded CMS card. */
.intent-journey-slot {
  position: relative;
  width: min(100%, 760px);
  min-height: 170px;
  margin: 30px 0 16px;
  overflow: hidden;
  isolation: isolate;
  clip-path: polygon(2% 7%, 93% 0, 100% 81%, 88% 100%, 4% 93%, 0 25%);
  background:
    radial-gradient(circle at 18% 32%, rgba(213, 170, 90, 0.34) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 68%, rgba(47, 111, 78, 0.34) 0 5px, transparent 6px),
    linear-gradient(135deg, rgba(237, 244, 238, 0.96), rgba(250, 248, 242, 0.96));
}

.intent-journey-slot::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 35%;
  width: 61%;
  height: 36%;
  border-top: 2px dashed rgba(47, 111, 78, 0.32);
  border-radius: 50%;
  transform: rotate(5deg);
}

.intent-journey-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background:
    repeating-linear-gradient(112deg, transparent 0 18px, rgba(23, 56, 35, 0.08) 18px 19px);
}

.intent-journey-slot--compact {
  width: min(100%, 560px);
  min-height: 148px;
  margin-left: auto;
  clip-path: polygon(7% 0, 100% 9%, 92% 100%, 0 89%);
}

.intent-journey-slot--ocean {
  min-height: 185px;
  background:
    radial-gradient(circle at 20% 30%, rgba(240, 158, 62, 0.36) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 66%, rgba(25, 76, 64, 0.38) 0 5px, transparent 6px),
    linear-gradient(140deg, rgba(229, 238, 232, 0.96), rgba(238, 244, 242, 0.96));
}

/* When a real photo is supplied later, it can be inserted without changing layout. */
.intent-journey-slot > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intent-journey-slot:has(> img)::before,
.intent-journey-slot:has(> img)::after {
  z-index: 2;
  mix-blend-mode: soft-light;
}

@media (prefers-reduced-motion: reduce) {
  .intent-frontdoor-proof__card,
  .intent-frontdoor-secondary-button {
    transition: none;
  }
}

@media (max-width: 720px) {
  .intent-frontdoor-proof__grid {
    grid-template-columns: 1fr;
  }

  .intent-journey-slot,
  .intent-journey-slot--compact {
    width: 100%;
    min-height: 138px;
    margin: 24px 0 10px;
  }
}
