/* =============================================
   style-index.css — embroideryhub main page
   ============================================= */

:root {
  --accent: #EB6260;
  --accent-light: #F0DDD8;
  --accent-pale: #F8F0EC;
  --slate-soft: #F5DDD7;
  --slate: #C96E5A;
  --sage-soft: #D5E5E6;
  --sage: #3F7377;
  --stone-soft: #D8E0E8;
  --stone: #2B4D65;
  --rose-soft: #F2E4E7;
  --rose: #B06B7D;
}

/* ── NAV BRAND ── */
.nav-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  text-decoration: none;
  text-transform: lowercase;
}

.nav-brand span {
  color: var(--accent);
}

.nav-links {
  gap: 2rem;
}

.nav-links a {
  font-size: 13px;
}

/* ── HERO ── */
.hero {
  padding: 100px 2rem 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  min-height: auto;
  display: block;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.06em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ── WORKFLOW ── */
.workflow-section {
  padding: 30px 2rem 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.wf-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.wf-step:last-child {
  border-bottom: none;
}

.wf-step:hover {
  opacity: 0.7;
}

.wf-step-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wf-num {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.wf-step h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.wf-step p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.wf-app-ref {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  align-self: flex-start;
}

@media (min-width: 960px) {
  .workflow-steps {
    flex-direction: row;
    gap: 1.5rem;
    max-width: 100%;
  }

  .wf-step {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--border-soft);
    padding: 1.25rem 1.5rem 1.25rem 0;
  }

  .wf-step:last-child {
    border-right: none;
    padding-right: 0;
  }
}

/* ── SECTION DIVIDER ── */
.section-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  border-top: 1px solid var(--border-soft);
}

/* ── ABOUT ── */
.about-section {
  padding: 56px 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-section h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.about-section h2 em {
  font-style: italic;
  color: var(--accent);
}

.about-section p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-section p:last-child {
  margin-bottom: 0;
}

/* ── WORKS TOGETHER ── */
.together-section {
  padding: 0 2rem 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.together-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.together-inner h2 em {
  font-style: italic;
  color: var(--accent);
}

.together-inner p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

.together-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 37, 35, 0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.together-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.stat {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}

.stat:nth-child(odd) {
  border-right: 1px solid var(--border-soft);
}

.stat:nth-last-child(-n+2) {
  border-bottom: none;
}

.stat-num {
  font-size: 34px;
  font-weight: 800;
  color: #3D2B1F;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.4;
}

/* ── CONTACT ── */
.contact-section {
  padding: 24px 2rem 8px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.contact-icon:hover {
  opacity: 0.8;
}

.contact-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

/* ── FOOTER override ── */
footer {
  padding: 4px 2rem 36px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: block;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s forwards;
}

.fade-up:nth-child(1) {
  animation-delay: 0s;
}

.fade-up:nth-child(2) {
  animation-delay: 0.1s;
}

.fade-up:nth-child(3) {
  animation-delay: 0.2s;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .wf-app-ref {
    align-self: flex-start;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-hide-mobile {
    display: none;
  }
}
