/* Portfolio theme + spacing overrides on top of Apex Assist base styles */

:root {
  --bg: #f3e6d5;
  --bg-2: #e8d7c1;
  --paper: rgba(255, 248, 238, 0.9);
  --paper-strong: rgba(255, 251, 246, 0.98);
  --ink: #332115;
  --muted: #6b4d3a;
  --brand: #986643;
  --brand-2: #d4a27d;
  --line: rgba(98, 67, 46, 0.22);
  --shadow: 0 20px 46px rgba(80, 52, 34, 0.16);
}

html,
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 9%, rgba(255, 243, 230, 0.94), transparent 34%),
    radial-gradient(circle at 86% 7%, rgba(212, 162, 125, 0.2), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.orb-a {
  background: #dfb289;
}

.orb-b {
  display: none;
}

.contact-strip {
  background: rgba(255, 247, 237, 0.92);
  border-bottom-color: var(--line);
}

.strip-title {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-shadow: none;
}

.topbar {
  background: var(--paper);
}

.top-actions {
  display: inline-flex;
  gap: 0.58rem;
  align-items: center;
}

.brand-mark {
  color: #fff6ed;
  background: linear-gradient(135deg, #8f5f40, #be8b66);
}

.nav-links a {
  color: #5f432f;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  border-color: rgba(94, 63, 40, 0.24);
  background:
    linear-gradient(132deg, rgba(255, 247, 237, 0.98), rgba(249, 237, 223, 0.98)),
    radial-gradient(circle at 9% 14%, rgba(153, 102, 66, 0.1), transparent 35%);
}

.eyebrow {
  color: #825837;
}

.hero-copy {
  color: #5f4433;
}

.kpi-label,
.kpi-note,
.client-card p,
.step p,
.section-head p,
.clean-list,
label,
.muted {
  color: #684c39;
}

.kpi-card,
.client-card,
.offering-card,
.step,
.stack-card,
.interest-form,
footer {
  background: var(--paper);
  border-color: var(--line);
}

.btn-primary {
  color: #fff7ef;
  background: linear-gradient(135deg, #845539, #9c6c49 62%, #c18b64);
  box-shadow: 0 14px 30px rgba(130, 84, 56, 0.24);
}

.btn-outline {
  background: var(--paper-strong);
  color: #4d3425;
  border-color: rgba(91, 62, 43, 0.3);
}

.btn-ghost {
  color: #643f2b;
  background: rgba(152, 102, 67, 0.14);
  border-color: rgba(152, 102, 67, 0.28);
}

.dark-outline {
  background: transparent;
  color: #5d3e2b;
  border-color: rgba(93, 62, 43, 0.45);
}

section {
  margin: 4.6rem 0;
}

.side-home,
.side-contact {
  color: #9b8778;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.side-links {
  position: fixed;
  z-index: 40;
  left: 1.2rem;
  top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.side-home,
.side-contact {
  position: static;
  left: auto;
  top: auto;
  transform: none;
}

.side-home[aria-current="page"] {
  color: #6b4d3a;
}

.side-home:hover,
.side-contact:hover {
  color: #6b4d3a;
}

.contact-center {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}

.contact-center h2 {
  margin: 0;
}

.contact-center p {
  margin: 0 0 0.25rem;
  max-width: 48ch;
  font-size: 1.04rem;
  color: #664b39;
}

.contact-center a {
  color: #4e3425;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.35;
}

.contact-center a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .side-links {
    left: 0.8rem;
    top: 7.4rem;
  }
}

@media (max-width: 920px) {
  .side-links {
    position: fixed;
    left: 0.75rem;
    top: 7.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.52rem;
    margin: 0;
  }

  .top-actions {
    width: 100%;
    justify-content: center;
  }
}

/* keep old selector compatibility */
.side-home,
.side-contact {
  color: #9b8778;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.section-head p {
  max-width: 74ch;
}

.step h3,
.client-card h3 {
  line-height: 1.3;
}

.step p,
.client-card p {
  line-height: 1.6;
}

.experience-section .step-grid {
  gap: 1.15rem;
}

.experience-section .step {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.experience-section .step h3 {
  font-size: 1.22rem;
  line-height: 1.34;
}

.experience-section .xp-meta {
  margin-top: 0.34rem;
  font-size: 1.02rem;
  color: #6f533f;
}

#contact .section-head p {
  max-width: 56ch;
}

@media (max-width: 920px) {
  section {
    margin: 3.2rem 0;
  }
}
