/* Tech Futures Group recognition system
   One custom Fish Receipt mark + typographic lockup, used in the hero (compact)
   and in the milestone section (expanded). No third-party logo artwork. */

/* ── Shared mark ── */
.tfg-mark {
  --mark-size: 34px;
  width: var(--mark-size);
  height: var(--mark-size);
  flex: 0 0 var(--mark-size);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(3, 65, 89, .16);
}
.tfg-mark svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Hero: compact credential ── */
.hero__proof-row {
  display: flex;
  align-items: center;
  gap: 14px 22px;
  flex-wrap: wrap;
}
.hero__proof-row .hero__trust { margin: 0; }

.tfg-credential {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 8px 16px 8px 9px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(3, 65, 89, .05);
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.tfg-credential:hover {
  border-color: rgba(3, 140, 62, .45);
  box-shadow: 0 6px 18px rgba(3, 65, 89, .08);
  transform: translateY(-1px);
}
.tfg-credential:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
}

.tfg-credential__text {
  flex: 1 1 auto;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}
.tfg-credential__eyebrow {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.tfg-credential__name {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy);
}
.tfg-credential__meta {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-muted);
}
.tfg-credential__meta span[aria-hidden] { padding-inline: 4px; opacity: .6; }

.tfg-credential__arrow {
  align-self: flex-start;
  margin-left: 2px;
  font-size: .75rem;
  color: var(--slate-400);
  transition: color var(--ease), transform var(--ease);
}
.tfg-credential:hover .tfg-credential__arrow {
  color: var(--teal-dark);
  transform: translate(1px, -1px);
}

/* ── Milestone section ── */
.startup-support {
  background: var(--bg-strip);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding-block: 72px;
}

.startup-support__inner {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: 1040px;
}

.tfg-plaque {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 28px 26px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(12, 242, 93, .16) 0%, transparent 55%),
    linear-gradient(160deg, #034159 0%, #023445 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 24px 48px -24px rgba(3, 65, 89, .45);
  color: #fff;
}
.tfg-plaque::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  pointer-events: none;
}

.tfg-plaque__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tfg-plaque .tfg-mark {
  --mark-size: 44px;
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 0 0 4px rgba(12, 242, 93, .12);
}
.tfg-plaque__year {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .72);
}

.tfg-plaque__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tfg-plaque__eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
}
.tfg-plaque__name {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #fff;
}
.tfg-plaque__rule {
  height: 1px;
  margin-block: 10px 4px;
  background: rgba(255, 255, 255, .14);
}
.tfg-plaque__program {
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
}

.startup-support__copy { max-width: 560px; }

.startup-support__eyebrow {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.startup-support__copy h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.startup-support__lead {
  margin-top: 14px;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.startup-support__note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.startup-support__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(3, 140, 62, .35);
  color: var(--teal-dark);
  font-size: .875rem;
  font-weight: 700;
  transition: border-color var(--ease), color var(--ease);
}
.startup-support__link:hover { border-bottom-color: currentColor; }

/* ── Dark mode ── */
[data-theme="dark"] .tfg-mark {
  background: var(--teal);
  color: #011824;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(12, 242, 93, .22);
}
[data-theme="dark"] .tfg-credential {
  background: rgba(1, 24, 36, .55);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}
[data-theme="dark"] .tfg-credential:hover {
  border-color: rgba(12, 242, 93, .40);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
[data-theme="dark"] .tfg-credential__eyebrow,
[data-theme="dark"] .tfg-credential:hover .tfg-credential__arrow,
[data-theme="dark"] .startup-support__eyebrow,
[data-theme="dark"] .startup-support__link { color: var(--teal); }
[data-theme="dark"] .tfg-credential__name,
[data-theme="dark"] .startup-support__copy h2 { color: #f0fefa; }
[data-theme="dark"] .startup-support__link { border-bottom-color: rgba(12, 242, 93, .35); }

[data-theme="dark"] .startup-support {
  background: var(--bg);
  border-color: rgba(12, 242, 93, .08);
}
[data-theme="dark"] .tfg-plaque {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(12, 242, 93, .14) 0%, transparent 55%),
    linear-gradient(160deg, #03293a 0%, #021f2b 100%);
  box-shadow:
    inset 0 0 0 1px rgba(12, 242, 93, .16),
    0 24px 48px -24px rgba(0, 0, 0, .7);
}
[data-theme="dark"] .tfg-plaque .tfg-mark { box-shadow: 0 0 0 4px rgba(12, 242, 93, .12); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__proof-row { justify-content: center; }
}

@media (max-width: 860px) {
  .startup-support { padding-block: 56px; }
  .startup-support__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    max-width: 560px;
  }
}

@media (max-width: 700px) {
  .hero__proof-row { flex-direction: column; gap: 14px; }
  .startup-support { padding-block: 48px; }
  .tfg-plaque { padding: 24px 22px 22px; gap: 22px; }
  .tfg-plaque__name { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tfg-credential,
  .tfg-credential:hover,
  .tfg-credential:hover .tfg-credential__arrow { transform: none; }
}
