/* Approved Draft 1 boat-card composition.
   Visual baseline approved at v0.01.23; this canonical stylesheet preserves it. */

/* PORTRAIT — watercolor lives behind the illustration, never over Rachel's arm. */
.portrait-panel {
  overflow: visible;
  background: transparent;
  z-index: 1;
}
.portrait-panel img {
  position: relative;
  z-index: 2;
  width: 121%;
  height: 116%;
  transform: translate(-5%, -4%);
  -webkit-mask-image: linear-gradient(90deg,
    #000 0%, #000 84%, rgba(0,0,0,.98) 87%, rgba(0,0,0,.88) 90%,
    rgba(0,0,0,.64) 93%, rgba(0,0,0,.34) 96%, rgba(0,0,0,.10) 98%,
    transparent 100%);
  mask-image: linear-gradient(90deg,
    #000 0%, #000 84%, rgba(0,0,0,.98) 87%, rgba(0,0,0,.88) 90%,
    rgba(0,0,0,.64) 93%, rgba(0,0,0,.34) 96%, rgba(0,0,0,.10) 98%,
    transparent 100%);
}
.portrait-panel::after {
  z-index: 0;
  inset: -12% -54% -12% -8%;
  background:
    radial-gradient(ellipse 68% 76% at 28% 38%, rgba(23,105,170,.13), transparent 80%),
    radial-gradient(ellipse 64% 70% at 53% 79%, rgba(122,61,184,.12), transparent 82%),
    radial-gradient(ellipse 50% 56% at 78% 31%, rgba(35,140,154,.075), transparent 84%);
  filter: blur(9px);
}

/* Approved back/map. */
.map-panel { isolation: isolate; overflow: visible; margin: -4% -7% -3% -2%; }
.map-panel .loop-map {
  position: absolute;
  width: 126%;
  height: 126%;
  max-width: none;
  right: -7%;
  top: -13%;
  object-fit: contain;
  object-position: right center;
  filter: saturate(.92) contrast(.99);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%, transparent 15%, rgba(0,0,0,.12) 19%, rgba(0,0,0,.40) 23%,
    rgba(0,0,0,.70) 28%, rgba(0,0,0,.91) 33%, #000 37%, #000 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%, transparent 15%, rgba(0,0,0,.12) 19%, rgba(0,0,0,.40) 23%,
    rgba(0,0,0,.70) 28%, rgba(0,0,0,.91) 33%, #000 37%, #000 100%);
}
.map-panel::after { display: none; }
.map-inland {
  position: absolute;
  z-index: 4;
  left: .5%;
  top: 54%;
  transform: translateY(-50%);
  color: #314257;
  font-size: clamp(.46rem, .70vw, .72rem);
  line-height: 1;
  font-weight: 430;
  letter-spacing: .105em;
  white-space: nowrap;
  pointer-events: none;
}

/* Card-relative type scale. */
.boat-card { container-type: inline-size; }
.wordmark .rachel,
.wordmark .mark-name,
.back-copy h2 { font-size: 7.1cqw; }
.wordmark .n { font-size: 4.83cqw; }
blockquote p,
.journey-copy { font-size: 2.8cqw; line-height: 1.30; }
blockquote cite { font-size: 2.05cqw; line-height: 1.08; }
.contact-kicker { font-size: 2.1cqw; line-height: 1; }
.domain,
.back-email { font-size: 3cqw; line-height: 1; }

/* FRONT — center the complete text composition in the visible negative space
   bounded by Rachel's fully visible outer arm and the physical card edge. */
.front-copy {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  padding: 5.7% 5.2% 5.1% 2.7%;
  transform: translateX(10.2cqw);
}
.wordmark { align-self: start; margin-top: 1%; }
.front-copy blockquote {
  margin: 0;
  align-self: center;
  justify-self: center;
  transform: translateY(6%);
}
blockquote p { margin-bottom: 5%; }
.front-contact {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 0;
  align-self: end;
  justify-self: center;
  gap: .42em;
  white-space: nowrap;
}

/* BACK — approved Draft 1 composition. */
.back-copy {
  justify-content: flex-start;
  padding-left: 4%;
  padding-top: 5%;
  padding-bottom: 18%;
}
.back-copy h2 { line-height: .92; }
.back-wave { margin: 7.5% 0 8.5%; }
.journey-copy { max-width: 84%; }
.keep-together { white-space: nowrap; }
.back-contact {
  left: 21%;
  bottom: 5.1%;
  transform: translateX(-50%);
  gap: .42em;
}

@media (max-width: 860px) {
  .map-panel .loop-map { width: 126%; height: 126%; right: -7%; top: -13%; }
  .map-inland { font-size: clamp(.44rem, 1.5vw, .68rem); }
  .back-contact { left: 21%; }
}

/* v0.01.27 review: display approved Boat Vector V1 over Great Loop Map Proof 21.
   Other card composition, front artwork, and text remain untouched. */
.map-panel .future-looper-boat {
  position: absolute;
  z-index: 6;
  display: block;
  width: 74%;
  height: auto;
  max-width: none;
  right: -9%;
  bottom: -6%;
  object-fit: contain;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
}

/* v0.01.30: eliminate opaque map rectangle and place the boat over the
   east-coast bend. Keep original approved SVGs immutable. */
.map-panel {
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 62% at 58% 28%, rgba(51,116,185,.10), transparent 80%),
    radial-gradient(ellipse 44% 48% at 86% 74%, rgba(123,61,184,.12), transparent 84%);
}
.map-panel .loop-map {
  z-index: 2;
  width: 110%;
  height: 110%;
  right: 1%;
  top: -13%;
  filter: saturate(.9) contrast(.98);
}
.map-panel .boat-knockout,
.map-panel .future-looper-boat {
  position: absolute;
  display: block;
  width: 78%;
  height: auto;
  max-width: none;
  right: 1%;
  bottom: 5%;
  object-fit: contain;
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
}
.map-panel .boat-knockout { z-index: 5; }
.map-panel .future-looper-boat { z-index: 6; }
.map-inland { z-index: 4; }

/* v0.01.31: Position the yacht in card coordinates, not map-panel coordinates.
   This separates its lower-right placement from the map's responsive layout.
   Both existing SVG images remain unmodified. */
.card-back > .boat-knockout,
.card-back > .future-looper-boat {
  position: absolute;
  width: 38%;
  height: auto;
  max-width: none;
  right: 2.5%;
  bottom: 4%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.card-back > .boat-knockout { z-index: 5; }
.card-back > .future-looper-boat { z-index: 6; }
.card-back .map-panel .loop-map {
  width: 104%;
  height: 104%;
  right: 2%;
  top: -17%;
}

/* v0.01.32 — Dreaming of the Loop concept.
   The boat is the foreground aspiration; the map floats softly above it.
   Never apply a solid rectangular overlay or alter the archived SVG masters. */
.card-back .dream-wash {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(ellipse 36% 44% at 76% 27%, rgba(73,157,214,.16), transparent 83%),
    radial-gradient(ellipse 33% 30% at 79% 73%, rgba(128,87,192,.14), transparent 84%),
    radial-gradient(ellipse 30% 30% at 58% 55%, rgba(156,190,221,.10), transparent 85%);
  filter: blur(9px);
}
.card-back .map-panel {
  z-index: 2;
  isolation: auto;
  background: none;
}
.card-back .map-panel .loop-map {
  width: 94%;
  height: 94%;
  right: 6%;
  top: -23%;
  opacity: .57;
  filter: saturate(.64) contrast(.87);
  -webkit-mask-image: radial-gradient(ellipse 76% 77% at 54% 48%, #000 35%, rgba(0,0,0,.75) 67%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 77% at 54% 48%, #000 35%, rgba(0,0,0,.75) 67%, transparent 100%);
}
.card-back > .boat-knockout { display: none; }
.card-back > .future-looper-boat {
  z-index: 6;
  width: 37%;
  right: 3%;
  bottom: 5%;
  filter: drop-shadow(0 2px 2px rgba(23,105,170,.08));
}
.card-back .map-inland { display: none; }

/* v0.01.33 — final restrained watercolor composition refinement.
   Changes apply to review back only; front and master SVGs remain unchanged. */
.card-back .dream-wash {
  background:
    radial-gradient(ellipse 35% 39% at 77% 27%, rgba(92,167,218,.16) 0%, rgba(92,167,218,.075) 48%, transparent 92%),
    radial-gradient(ellipse 38% 32% at 74% 55%, rgba(165,191,230,.13) 0%, rgba(165,191,230,.07) 48%, transparent 94%),
    radial-gradient(ellipse 34% 35% at 80% 79%, rgba(134,92,191,.18) 0%, rgba(134,92,191,.08) 51%, transparent 95%),
    radial-gradient(ellipse 24% 25% at 56% 66%, rgba(157,115,202,.075), transparent 89%);
  filter: blur(12px);
}
.card-back .map-panel .loop-map {
  opacity: .46;
  filter: saturate(.60) contrast(.86);
}
.card-back > .future-looper-boat {
  width: 39.5%;
  right: 2.5%;
  bottom: 4.5%;
}
