/* Fig. 01 · The pitch: navy blueprint section with the galleon, the dinghy, two bubbles and the Tideraising card.
   Ported from claude/canvas/Main.dc.html (section markup and the .fleet-* global rules). */

.pitch {
  background-color: var(--navy);
  color: var(--white);
}

.pitch-inner {
  padding-block: clamp(64px, 8vw, 104px) clamp(72px, 9vw, 112px);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.pitch-head {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pitch-label {
  color: var(--pale);
}

/* Boats: always one row, scaling down, never stacking */
.pitch-fleet-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(8px, 3vw, 40px);
}

.pitch-boat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pitch-boat-stage {
  width: 100%;
  height: clamp(100px, 20vw, 250px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* Cut the boats off 21px into the 24px wave strip, so at rest (reduced motion) the galleon's keel
     can't peek out below it. The cut edge sits under the wave's opaque fill. */
  clip-path: inset(-100vmax -100vmax -21px -100vmax);
}

.pitch-boat-svg,
.pitch-ours-boat svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.pitch-galleon {
  width: min(300px, 100%);
  margin-bottom: -6%;
  animation-duration: 6.8s;
  animation-delay: -1.2s;
}

.pitch-dinghy {
  width: min(120px, 42%);
  margin-bottom: -3%;
  animation-duration: 3.6s;
  animation-delay: -0.7s;
}

.pitch-wave {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 24px;
}

.pitch-wave-body {
  fill: var(--navy);
}

/* Bubbles, each joined to its boat by a dashed line */
.pitch-bubbles {
  row-gap: 28px;
  padding-top: 34px;
  overflow: clip;
}

.pitch-bubble {
  position: relative;
}

.pitch-bubble--galleon {
  --x: 37%;
  --js: start;
}

.pitch-bubble--dinghy {
  --x: 63%;
  --js: end;
}

.pitch-line {
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  height: 2000px;
  margin-left: -1px;
  border-left: 2px dashed color-mix(in srgb, var(--white) 70%, transparent);
}

.pitch-bubble-box {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  background: var(--navy-bubble);
  border: 1.5px solid color-mix(in srgb, var(--white) 75%, transparent);
  border-radius: var(--radius-sm);
}

.pitch-notch {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  transform: rotate(45deg);
  background: var(--navy-bubble);
  border-top: 1.5px solid color-mix(in srgb, var(--white) 75%, transparent);
  border-left: 1.5px solid color-mix(in srgb, var(--white) 75%, transparent);
}

.pitch-bubble-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 860px) {
  .pitch-bubbles {
    grid-template-columns: minmax(0, 1fr);
  }

  .pitch-bubble {
    width: 65%;
    justify-self: var(--js);
  }

  .pitch-line,
  .pitch-notch {
    left: var(--x);
  }
}

/* The Tideraising boat on its card */
.pitch-ours {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(48px, 7vw, 80px);
}

.pitch-ours-boat {
  position: relative;
  z-index: 3;
  width: min(200px, 46%);
  margin-bottom: -22px;
  animation-duration: 5.2s;
}

.pitch-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  padding: 32px 28px 28px;
  background: var(--sunflower);
  color: var(--ink);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 8px 8px 0 var(--navy-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pitch-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pitch-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pitch-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pitch-check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--ink);
}

.pitch-point-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pitch-point-title {
  font-size: 19px;
  font-weight: 800;
}

.pitch-point-sub {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
