/* --- Site header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-logo span {
  color: var(--color-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) var(--ease-out);
}

.site-nav a:hover {
  color: var(--color-text);
}

.site-nav .nav-external::after {
  content: " ↗";
  font-size: 0.85em;
  opacity: 0.6;
}

.nav-toggle {
  display: none;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding-block: var(--space-3xl);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
    max-width: 20rem;
    margin-inline: auto;
  }
}

.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-md);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.03em;
}

.hero__title-accent {
  display: block;
  background: linear-gradient(
    135deg,
    var(--color-text) 0%,
    var(--color-accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
  font-weight: 500;
}

.hero__lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 34rem;
  margin: 0 0 var(--space-xl);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__media {
  position: relative;
}

.hero__photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-accent);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.hero__photo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgb(200 164 92 / 0.15) 0%,
    transparent 45%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__photo {
  display: block;
  width: 100%;
  height: auto;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orb-drift 12s ease-in-out infinite alternate;
}

.hero__orb--1 {
  width: 280px;
  height: 280px;
  background: rgb(200 164 92 / 0.18);
  top: -10%;
  right: -5%;
}

.hero__orb--2 {
  width: 200px;
  height: 200px;
  background: rgb(40 80 140 / 0.2);
  bottom: 5%;
  left: -8%;
  animation-delay: -4s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.8rem 1.4rem;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 0 4px 20px rgb(200 164 92 / 0.25);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgb(200 164 92 / 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-border-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* --- Stats bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  list-style: none;
  margin: 0;
}

.stats-bar__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stats-bar__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --- Capability cards --- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.cap-card {
  position: relative;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    transform var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-sm), 0 0 40px var(--color-glow);
}

.cap-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 700;
}

.cap-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  color: var(--color-text);
}

.cap-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* --- Current ventures --- */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-md);
  list-style: none;
  padding: 0;
  margin: 0;
}

.venture-item {
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  transition:
    transform var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.venture-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-sm), 0 0 32px var(--color-glow);
}

.venture-item--more {
  color: var(--color-text-muted);
  font-style: italic;
  font-weight: 400;
}

.cap-card--featured {
  border-color: var(--color-border-accent);
  background: linear-gradient(
    145deg,
    var(--color-bg-card) 0%,
    rgb(200 164 92 / 0.07) 100%
  );
}

/* --- Contact --- */
.contact-block {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.contact-block__text {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
  max-width: 34rem;
  margin-inline: auto;
  font-size: var(--text-lg);
}

.contact-block__note {
  margin: var(--space-md) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  opacity: 0.8;
}

/* --- Footer --- */
.site-footer {
  padding-block: var(--space-xl);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
