/* work.css */

/* ===========================
   PAGE HERO — dark image style
=========================== */
.page-hero {
  padding: 9rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0040 0%, #3b0764 50%, #1a0040 100%);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../assets/portrait-office.jpg');
  background-size: cover; background-position: center 20%;
  opacity: 0.10; z-index: 0;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(107,33,168,0.92) 0%,
    rgba(147,51,234,0.80) 40%,
    rgba(233,30,140,0.75) 100%
  );
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .section-eyebrow {
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 40px;
  padding: 0.3rem 0.875rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700; line-height: 1.2;
  color: white; margin-top: 0.75rem;
}
.page-hero-title em {
  font-style: italic;
  color: var(--pink-light);
  background: none;
  -webkit-text-fill-color: var(--pink-light);
}
.page-hero-sub {
  margin-top: 1rem; max-width: 560px;
  font-size: 1.05rem; color: rgba(255,255,255,0.72); line-height: 1.65;
}

/* Work section */
.work-section {
  padding: var(--section-py) 0;
  background: var(--off-white);
}
.behance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.behance-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.behance-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.behance-embed-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--gray-100);
}

.behance-embed-wrap iframe {
  width: 100% !important;
  display: block;
  border: none;
}

.behance-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-100);
}
.project-type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-pale);
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-xl);
}
.behance-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink);
  transition: gap var(--t-fast) var(--ease);
}
.behance-link:hover { gap: 0.6rem; }

/* Behance CTA card */
.behance-cta-card {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.behance-cta-inner {
  text-align: center;
  padding: 2.5rem;
  color: white;
}
.behance-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.behance-cta-inner h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.behance-cta-inner p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto 1.75rem;
}
.behance-cta-card .btn-primary {
  background: white;
  color: var(--purple);
}
.behance-cta-card .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Process */
.process-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 1.75rem; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--pink), var(--purple));
  opacity: 0.2;
}
.process-step {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  position: relative;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.process-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--pink);
  margin-bottom: 0.875rem;
  display: block;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.625rem;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .behance-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
}
