/* Release 2D — editorial directory (pilots only) */

.pilot-page {
  --pilot-max: 720px;
  --pilot-ink: #1c211e;
  --pilot-muted: #5a635c;
  --pilot-line: #e6ebe7;
  --pilot-soft: #f6f8f6;
  --pilot-green: #0f6b38;
  --pilot-green-deep: #0a4f29;
  --pilot-green-soft: #eaf5ee;
  --pilot-frame: #eef1ee;
  background: #fafbfa;
  color: var(--pilot-ink);
  padding-bottom: 72px;
}

.pilot-shell {
  max-width: var(--pilot-max);
  margin: 0 auto;
  padding: 0 22px;
}

.pilot-crumb {
  padding: 88px 0 0;
  font-size: 13px;
  color: var(--pilot-muted);
}

.pilot-crumb a {
  color: var(--pilot-muted);
  text-decoration: none;
}

.pilot-crumb a:hover {
  color: var(--pilot-green);
}

.pilot-crumb-sep {
  margin: 0 8px;
  opacity: 0.45;
}

/* Hero — simple, editorial */
.pilot-hero {
  padding: 28px 0 8px;
}

.pilot-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 750;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 14px;
  max-width: 16ch;
}

.pilot-hero-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--pilot-muted);
  max-width: 38em;
}

.pilot-updated {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: #7a847c;
}

/* Listings */
.pilot-sec {
  margin: 48px 0 0;
}

.pilot-sec-h h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.pilot-sec-note {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--pilot-muted);
  max-width: 40em;
}

.pilot-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--pilot-line);
}

.plist {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--pilot-line);
}

@media (max-width: 640px) {
  .plist {
    grid-template-columns: 56px 1fr;
  }
  .plist-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

.plist-media {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--pilot-frame);
  border: 1px solid var(--pilot-line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 640px) {
  .plist-media {
    width: 56px;
    height: 56px;
  }
}

.plist-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  background: #fff;
}

.plist-mono {
  font-weight: 750;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--pilot-green-deep);
}

.plist-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.25;
}

.plist-name a {
  color: inherit;
  text-decoration: none;
}

.plist-name a:hover {
  color: var(--pilot-green);
}

.plist-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--pilot-muted);
  line-height: 1.4;
}

.plist-services {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: #4a534c;
  line-height: 1.4;
}

.plist-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 132px;
}

@media (max-width: 640px) {
  .plist-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
}

.pilot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.pilot-btn--primary {
  background: var(--pilot-green);
  color: #fff;
}

.pilot-btn--primary:hover {
  background: var(--pilot-green-deep);
}

.pilot-btn--ghost {
  background: #fff;
  border-color: var(--pilot-line);
  color: var(--pilot-ink);
}

.pilot-btn--ghost:hover {
  border-color: rgba(15, 107, 56, 0.35);
}

.pilot-btn--text {
  background: none;
  border: 0;
  color: var(--pilot-green-deep);
  min-height: auto;
  padding: 0;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Cost-planning aside */
.pilot-cost {
  margin: 36px 0 0;
  padding: 20px 22px;
  background: var(--pilot-green-soft);
  border-radius: 12px;
}

.pilot-cost p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #22422f;
  max-width: 40em;
}

/* Local note — prose */
.pilot-note {
  margin: 56px 0 0;
  padding-top: 36px;
  border-top: 1px solid var(--pilot-line);
}

.pilot-note h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 18ch;
}

.pilot-note p {
  margin: 0 0 1.1em;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2a312c;
  max-width: 38em;
}

.pilot-note p:last-child {
  margin-bottom: 0;
}

.pilot-note-check {
  margin: 1.4em 0 0;
  padding: 0;
  list-style: none;
  max-width: 36em;
}

.pilot-note-check li {
  position: relative;
  padding: 0 0 0.55em 1.15em;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #2a312c;
}

.pilot-note-check li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--pilot-muted);
}

/* Compact quote CTA */
.pilot-quote {
  margin: 40px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--pilot-line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
}

.pilot-quote p {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--pilot-muted);
  max-width: 32em;
}

/* Directory */
.pilot-directory {
  margin: 56px 0 0;
  padding-top: 36px;
  border-top: 1px solid var(--pilot-line);
}

.pilot-data-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: #7a847c;
}

.pilot-filter {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--pilot-line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  margin-bottom: 12px;
  background: var(--pilot-soft);
}

.pilot-browse-list {
  list-style: none;
  margin: 0;
  padding: 0 14px;
  max-height: 480px;
  overflow: auto;
  border: 1px solid var(--pilot-line);
  border-radius: 10px;
  background: #fff;
}

.pilot-browse-list li {
  border-bottom: 1px solid var(--pilot-line);
}

.pilot-browse-list li:last-child {
  border-bottom: 0;
}

.pilot-browse-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  text-decoration: none;
  color: var(--pilot-ink);
  font-size: 0.92rem;
}

.pilot-browse-list a:hover {
  color: var(--pilot-green);
}

.pilot-browse-meta {
  color: var(--pilot-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Pilot footer compact */
footer.pilot-footer .ft-states {
  display: none;
}
footer.pilot-footer .ft-disc {
  display: none;
}
footer.pilot-footer .ft-top {
  padding-top: 8px;
}
footer.pilot-footer .ft-brand p {
  max-width: 28em;
}
