/* ============================================
   PIXELEVENTS — Homepage Styles
   ============================================ */

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 73px);
  background: var(--pearl);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 4rem;
  position: relative;
}

.hero-pixel-corner {
  position: absolute;
  top: 2.5rem;
  right: 1.5rem;
  opacity: 0.15;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.eyebrow-line { width: 36px; height: 1px; background: var(--plum-soft); flex-shrink: 0; }
.eyebrow-text {
  font-size: 0.63rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--plum-soft);
  font-weight: 300;
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--plum-deep);
  margin-bottom: 1.6rem;
}
.hero-h1 em { font-style: italic; color: var(--plum-mid); }

.hero-tagline {
  font-size: 0.95rem;
  color: var(--plum-dark);
  line-height: 1.9;
  font-weight: 300;
  max-width: 380px;
  margin-bottom: 2.8rem;
}
.hero-tagline strong { color: var(--plum-mid); font-weight: 400; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item {
  border-left: 1px solid var(--plum-pale);
  padding-left: 1.2rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--plum-deep);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum-soft);
  font-weight: 300;
  margin-top: 0.2rem;
  display: block;
}

.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  overflow: hidden;
  background: var(--plum-pale);
}
.hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.hi1 { background: #D4A8E8 url('../images/hero-feature.jpg') center/cover no-repeat; grid-row: 1 / 3; }
.hi2 { background: #B880C0 url('../images/hero-reception.jpg') center/cover no-repeat; }
.hi3 { background: #C090D0 url('../images/hero-ceremony.jpg') center/cover no-repeat; }

.hero-img-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.hero-img-text {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(46,26,58,0.3);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 1rem;
}
.hero-img-text-sm {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(46,26,58,0.25);
  font-size: 0.75rem;
}

.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1rem;
  background: var(--pearl);
  padding: 0.9rem 1.4rem;
  z-index: 5;
}
.hero-badge-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--plum-deep);
  display: block;
  line-height: 1;
}
.hero-badge-sub {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum-soft);
  display: block;
  margin-top: 0.2rem;
}

/* ── BRAND STATEMENT ── */
.brand-stmt {
  padding: 6rem 4rem;
  text-align: center;
  background: var(--pearl);
}
.brand-pixel-row {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 2.5rem;
}
.brand-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--plum-deep);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-style: normal;
}
.brand-quote em { font-style: italic; color: var(--plum-mid); }
.brand-sub {
  font-size: 0.95rem;
  color: var(--plum-dark);
  line-height: 1.9;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
}

/* ── HOME SERVICES ── */
.home-services {
  padding: 5rem 0 6rem;
  background: var(--plum-ghost);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.svc-card {
  background: var(--pearl);
  padding: 2.5rem 2rem;
  border-top: 2px solid transparent;
  transition: border-color 0.35s, transform 0.35s;
  cursor: default;
}
.svc-card:hover { border-top-color: var(--plum-mid); transform: translateY(-3px); }

.svc-pixel-icon {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  gap: 1px;
  margin-bottom: 1.2rem;
}
.svc-pixel-icon span { width: 5px; height: 5px; display: block; }
.svc-num {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--plum-light);
  margin-bottom: 0.7rem;
  font-weight: 300;
  display: block;
}
.svc-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--plum-deep);
  margin-bottom: 0.8rem;
}
.svc-desc {
  font-size: 0.9rem;
  color: var(--plum-dark);
  line-height: 1.85;
  font-weight: 300;
}

/* ── HOME PORTFOLIO ── */
.home-portfolio {
  padding: 5rem 0 5.5rem;
  background: var(--plum-deep);
}
.home-portfolio .section-eyebrow { color: var(--plum-light); }
.home-portfolio .section-title { color: var(--text-dark); }

.port-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3px;
  margin-top: 2.5rem;
}
.port-main { position: relative; }
.port-main .port-img { height: 520px; position: relative; }
.port-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.port-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.port-item .port-img { flex: 1; min-height: 180px; }

.port-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.3s;
}
.port-img:hover { opacity: 0.85; }
.port-placeholder {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(212,160,232,0.25);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.8rem;
  line-height: 1.6;
}
.port-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.5rem;
  background: var(--plum-dark);
}
.port-info span:first-child {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 300;
}
.port-info span:last-child {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--plum-light);
  font-weight: 300;
}

/* ── HOME PROCESS ── */
.home-process {
  padding: 6rem 0;
  background: var(--pearl);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3.5rem;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--plum-pale);
  z-index: 0;
}
.process-step { text-align: center; padding: 0 1.2rem; }
.step-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--plum-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  background: var(--pearl);
}
.step-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--plum-deep);
  margin-bottom: 0.6rem;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--plum-dark);
  line-height: 1.8;
  font-weight: 300;
}

/* ── TESTIMONIALS ── */
.home-testimonials {
  padding: 6rem 4rem;
  background: var(--plum-dark);
  text-align: center;
}
.test-pixel-top {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 2.5rem;
}
.test-quote-mark {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--plum-soft);
  opacity: 0.3;
  line-height: 0;
  display: block;
  margin-bottom: 1.5rem;
}
.test-quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-dark);
  max-width: 720px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}
.test-author {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(237,224,245,0.5);
  margin-top: 1.5rem;
  display: block;
}
.test-author span { color: var(--plum-light); }
.test-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 2rem;
}
.test-dot {
  width: 5px; height: 5px;
  background: var(--plum-soft);
  opacity: 0.3;
  transform: rotate(45deg);
  cursor: pointer;
  transition: opacity 0.3s;
  display: block;
}
.test-dot.active { opacity: 1; background: var(--plum-light); }

/* ── CTA BAND ── */
.home-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--plum-ghost);
}
.cta-left {
  padding: 5.5rem 3.5rem;
  background: var(--plum-mid);
}
.cta-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--plum-light);
  display: block;
  margin-bottom: 1rem;
  font-weight: 300;
}
.cta-left h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--pearl);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.cta-left h2 em { font-style: italic; color: var(--plum-pale); }
.cta-left p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.9;
  font-weight: 300;
  max-width: 340px;
}
.cta-pixel-deco { margin-top: 2.5rem; }
.cta-right {
  padding: 5.5rem 3.5rem;
  background: var(--pearl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── INSTAGRAM ── */
.home-instagram {
  padding: 4.5rem 0;
  background: var(--pearl-warm);
}
.insta-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.insta-handle {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--plum-mid);
  font-weight: 300;
  transition: color var(--transition);
}
.insta-handle:hover { color: var(--plum-deep); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}
.ig-cell {
  aspect-ratio: 1;
  cursor: pointer;
  transition: opacity 0.3s;
  overflow: hidden;
}
.ig-cell:hover { opacity: 0.8; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-left { padding: 4rem 2.5rem 4rem 3rem; }
  .container { padding: 0 2.5rem; }
  .brand-stmt { padding: 5rem 2.5rem; }
  .home-cta { grid-template-columns: 1fr; }
  .cta-left { padding: 4rem 2.5rem; }
  .cta-right { padding: 4rem 2.5rem; }
  .home-testimonials { padding: 5rem 2.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .port-grid { grid-template-columns: 1fr; margin-top: 2rem; }
  .port-main .port-img { height: 340px; }
  .port-side { grid-template-columns: repeat(4, 1fr); }
  .port-item .port-img { min-height: 140px; }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 3rem 1.5rem; }
  .hero-right { height: 280px; }
  .hero-badge { left: 1rem; }
  .brand-stmt { padding: 4rem 1.5rem; }
  .container { padding: 0 1.5rem; }
  .home-services { padding: 4rem 0; }
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .home-portfolio { padding: 4rem 0; }
  .port-side { grid-template-columns: 1fr 1fr; }
  .port-main .port-img { height: 240px; }
  .home-process { padding: 4rem 0; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .home-testimonials { padding: 4rem 1.5rem; }
  .home-cta { grid-template-columns: 1fr; }
  .cta-left, .cta-right { padding: 3rem 1.5rem; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .home-instagram { padding: 3rem 0; }
  .hero-stats { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-left { padding: 2.5rem 1.2rem; }
  .hero-h1 { font-size: 2.4rem; }
  .hero-pixel-corner { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-actions .btn-filled { width: 100%; text-align: center; }
  .brand-stmt { padding: 3rem 1.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps .process-step { padding: 0; }
  .port-side { grid-template-columns: 1fr 1fr; }
  .port-item .port-img { min-height: 130px; }
  .home-testimonials { padding: 3.5rem 1.2rem; }
  .cta-left, .cta-right { padding: 2.5rem 1.2rem; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}
