/* ============================================================
   home.css — homepage-specific styles only
   ============================================================ */

/* ── Hero ── */
.hero {
  padding: 120px 0 80px;
  position: relative;
}

/* Background image layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.18;
  pointer-events: none;
}

/* Vignette — fades edges so text always reads clean */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  var(--cream) 0%, transparent 30%, transparent 70%, var(--cream) 100%),
    linear-gradient(to bottom, var(--cream) 0%, transparent 20%, transparent 60%, var(--cream) 100%);
  pointer-events: none;
}

/* Keep hero content above overlay layers */
.hero .container {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 0.5px;
  background: var(--ink-faint);
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 32px;
}
.hero__headline em {
  font-style: italic;
  color: var(--amber);
}

.hero__sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 52px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ── How it works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  padding-right: 40px;
  border-right: 0.5px solid var(--rule);
}
.step:last-child  { border-right: none; padding-right: 0; padding-left: 40px; }
.step:nth-child(2) { padding-left: 40px; }

.step__num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.step__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

.step__body {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ── On-shift feature section ── */
.shift-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.shift-feature__headline {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 300;
  color: #F8F5EE;
  line-height: 1.15;
  margin-bottom: 20px;
}
.shift-feature__headline em { font-style: italic; color: var(--amber); }

.shift-feature__body {
  font-size: 17px;
  font-weight: 400;
  color: rgba(248,245,238,0.65);
  line-height: 1.75;
  margin-bottom: 32px;
}

.shift-feature__link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248,245,238,0.5);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(248,245,238,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.shift-feature__link:hover { color: #F8F5EE; border-color: rgba(248,245,238,0.5); }

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

.hero__eyebrow  { animation: fadeUp 0.6s ease both; }
.hero__headline { animation: fadeUp 0.7s 0.08s ease both; }
.hero__sub      { animation: fadeUp 0.7s 0.16s ease both; }
.hero__actions  { animation: fadeUp 0.7s 0.24s ease both; }

/* ── Mobile ── */
@media (max-width: 700px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step {
    border-right: none;
    border-top: 0.5px solid var(--rule);
    padding: 40px 0 0 !important;
  }
  .step:first-child { border-top: none; padding-top: 0 !important; }

  .shift-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}