.sov-forge-home {
  --sov-red: #d6453b;
  --sov-red-dark: #a92f29;
  --sov-ink: #2a2521;
  --sov-muted: #6a6865;
  --sov-cream: #faf4e8;
  --sov-paper: #fffdf8;
  --sov-border: #e5d9c7;
  color: var(--sov-ink);
  background: var(--sov-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sov-forge-home h1,
.sov-forge-home h2,
.sov-forge-home h3,
.sov-forge-home p {
  margin-top: 0;
}

.sov-forge-hero {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  padding: 5rem max(1.5rem, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 88% 18%, rgb(214 69 59 / 12%) 0 8rem, transparent 8.1rem),
    linear-gradient(135deg, #fffaf0 0%, var(--sov-cream) 58%, #f2e5d1 100%);
  border-bottom: 1px solid var(--sov-border);
}

.sov-forge-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.sov-forge-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.6rem;
  color: var(--sov-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.sov-forge-brand svg {
  width: 2rem;
  height: auto;
}

.sov-forge-kicker,
.sov-forge-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--sov-red-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.sov-forge-hero h1 {
  margin-bottom: 1.35rem;
  color: var(--sov-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.sov-forge-intro {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #4f4a45;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.sov-forge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.sov-forge-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--sov-ink);
  border-radius: 0.55rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.sov-forge-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(42 37 33 / 14%);
}

.sov-forge-button-primary {
  color: #fff !important;
  background: var(--sov-ink);
}

.sov-forge-button-primary:hover {
  background: #151311;
}

.sov-forge-button-secondary {
  color: var(--sov-ink) !important;
  background: transparent;
}

.sov-forge-button-secondary:hover {
  background: rgb(255 255 255 / 55%);
}

.sov-forge-route {
  position: absolute;
  right: max(3rem, calc((100vw - 1180px) / 2));
  bottom: 4rem;
  width: min(28vw, 340px);
  height: 190px;
  opacity: 0.55;
  transform: rotate(-8deg);
}

.sov-forge-route-line {
  position: absolute;
  inset: 30px 18px;
  border: 3px dashed var(--sov-red);
  border-color: var(--sov-red) transparent transparent var(--sov-red);
  border-radius: 60% 0 0;
}

.sov-forge-route-dot {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 4px solid var(--sov-paper);
  border-radius: 50%;
  background: var(--sov-red);
  box-shadow: 0 0 0 2px var(--sov-red);
}

.sov-forge-route-dot-start {
  left: 7px;
  bottom: 26px;
}

.sov-forge-route-dot-end {
  right: 5px;
  top: 18px;
}

.sov-forge-section,
.sov-forge-about {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.sov-forge-section-heading {
  max-width: 660px;
  margin-bottom: 2.3rem;
}

.sov-forge-section-heading h2,
.sov-forge-about h2 {
  margin-bottom: 0.8rem;
  color: var(--sov-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.sov-forge-section-heading > p:last-child,
.sov-forge-about-copy p {
  color: var(--sov-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.sov-forge-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 1.25rem;
}

.sov-forge-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--sov-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 36px rgb(42 37 33 / 7%);
}

.sov-forge-card-icon {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  color: #fff;
  background: var(--sov-red);
}

.sov-forge-card-content {
  min-width: 0;
}

.sov-forge-card-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.sov-forge-card h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.sov-forge-card h3 a,
.sov-forge-card-links a,
.sov-forge-about-copy a {
  color: var(--sov-ink) !important;
  text-decoration-color: var(--sov-red) !important;
  text-underline-offset: 0.2em;
}

.sov-forge-public-label {
  padding: 0.2rem 0.55rem;
  border: 1px solid #c9baa4;
  border-radius: 999px;
  color: var(--sov-muted);
  background: var(--sov-cream);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sov-forge-card-content > p {
  color: #55504b;
  line-height: 1.65;
}

.sov-forge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.sov-forge-tags li {
  padding: 0.3rem 0.65rem;
  border-radius: 0.35rem;
  color: #58514a;
  background: #f4eee4;
  font-size: 0.78rem;
}

.sov-forge-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-weight: 700;
}

.sov-forge-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  border: 1px solid var(--sov-border);
  border-radius: 1rem;
  background: var(--sov-cream);
}

.sov-forge-about-copy a {
  font-weight: 750;
}

@media (max-width: 760px) {
  .sov-forge-hero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .sov-forge-brand {
    margin-bottom: 2rem;
  }

  .sov-forge-route {
    display: none;
  }

  .sov-forge-section,
  .sov-forge-about {
    padding: 3.5rem 1.15rem;
  }

  .sov-forge-card {
    flex-direction: column;
  }

  .sov-forge-about {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-right: 1rem;
    margin-left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sov-forge-button {
    transition: none;
  }

  .sov-forge-button:hover {
    transform: none;
  }
}
