.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.05rem;
  border: 1px solid var(--border-default);
  border-radius: 9px;
  background: var(--surface-primary);
  color: var(--text-primary);
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s, border-color .18s, background .18s;
}

.btn:hover {
  border-color: var(--brand-green);
  background: var(--surface-secondary);
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn--primary:hover {
  border-color: #174d32;
  background: #174d32;
}

.btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-green) 48%, #fff);
  outline-offset: 3px;
}

.btn--secondary {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.btn--text {
  border-color: transparent;
  background: transparent;
  color: var(--brand-green);
}

.badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: .42rem;
  padding: .3rem .6rem;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: var(--surface-primary);
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
}

.badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.badge--confirmed { color: var(--brand-green); }
.badge--progress { color: var(--brand-green); }
.badge--planned { color: var(--text-muted); }
.badge--future { color: var(--future); }
.badge--warning { color: var(--warning); }

.card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  background: var(--surface-primary);
  box-shadow: 0 1px 0 rgba(16, 43, 67, .04);
  transition: border-color .2s, transform .2s;
}

.card:hover {
  border-color: var(--brand-green-soft);
  transform: translateY(-2px);
}

.card p { font-size: .98rem; }

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border-default);
  border-radius: 11px;
  background: var(--surface-secondary);
  color: var(--brand-green);
  font-family: var(--mono);
  font-weight: 800;
}

.fact-list,
.check-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.fact-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
}

.fact-list li::before,
.check-list li::before {
  position: absolute;
  top: .65em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  content: "";
}

.status-list {
  display: grid;
  gap: 0;
  list-style: none;
}

.status-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-muted);
}

.status-list li:last-child { border-bottom: 0; }
.status-list span:first-child { color: var(--text-secondary); }

.process-strip {
  display: flex;
  overflow: auto;
  gap: 0;
  padding-bottom: 8px;
  scrollbar-color: var(--border-default) transparent;
}

.process-step {
  position: relative;
  min-width: 145px;
  padding: 18px 30px 18px 18px;
  border: 1px solid var(--border-default);
  border-right: 0;
  background: var(--surface-primary);
  color: var(--text-secondary);
  font-size: .88rem;
}

.process-step:first-child { border-radius: 10px 0 0 10px; }
.process-step:last-child { border-right: 1px solid var(--border-default); border-radius: 0 10px 10px 0; }

.process-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -7px;
  width: 13px;
  height: 13px;
  border-top: 1px solid var(--border-default);
  border-right: 1px solid var(--border-default);
  background: var(--surface-primary);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.callout {
  padding: 22px;
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--brand-green);
  border-radius: var(--radius-sm);
  background: var(--surface-secondary);
}

.callout--warning { border-left-color: var(--warning); }

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid var(--border-default);
  background: var(--surface-secondary);
}

.media-frame::before {
  position: absolute;
  z-index: -1;
  inset: 10px -10px -10px 10px;
  border: 1px solid #c9d5cc;
  background: #e7eee8;
  content: "";
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame figcaption { position: relative; background: var(--surface-primary); }

.lucide-icon {
  display: block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
}

.media-frame,
.media-frame img,
.card,
.card > *,
.status-list li > * { min-width: 0; }

.media-caption {
  padding: 12px 15px;
  border-top: 1px solid var(--border-default);
  color: var(--text-muted);
  font-size: .82rem;
}

.media-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  background: var(--navy);
}

.media-placeholder__content {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 32px;
  color: #fff;
  text-align: center;
}

.media-debug {
  display: none;
  padding: 8px 12px;
  background: var(--navy);
  color: #dbe7df;
  font-family: var(--mono);
  font-size: .7rem;
  overflow-wrap: anywhere;
}

html.show-placeholders .media-debug { display: block; }
.team-card img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.team-card h3 { margin-top: 3px; }
.team-role { color: var(--brand-green); font-weight: 700; }

.tabs {
  display: flex;
  overflow: auto;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--border-default);
  border-radius: 11px;
  background: var(--surface-secondary);
}

.tabs button {
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  white-space: nowrap;
}

.tabs button[aria-selected="true"] {
  background: var(--surface-primary);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(16, 43, 67, .08);
}

details { border-bottom: 1px solid var(--border-default); }
summary { padding: 18px 2px; color: var(--text-primary); font-weight: 700; cursor: pointer; }
details p { padding: 0 0 20px; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.reveal.is-visible { opacity: 1; transform: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--text-muted); font-size: .85rem; }
.breadcrumb a { color: inherit; }
.breadcrumb span::before { margin-right: 8px; content: "/"; }
.legal { max-width: 850px; }
.legal h2 { margin: 2.6rem 0 .9rem; font-size: 1.55rem; }
.legal h3 { margin: 1.8rem 0 .6rem; font-size: 1.2rem; }
.legal p, .legal ul { margin-top: .8rem; }
.legal ul { padding-left: 1.2rem; color: var(--text-secondary); }
