/* ═════════════════════════════════════════════════════════════════
   HOME PAGE STYLES — Preserved Hero Screenshot & High-Contrast Polish
═════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 70% 30%, rgba(0, 229, 204, 0.08) 0%, transparent 60%),
              linear-gradient(135deg, rgba(5,6,8,0.95) 0%, rgba(5,6,8,0.7) 60%, rgba(5,6,8,0.85) 100%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__pre {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blink-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--cyan);
  animation: blink 1.2s step-end infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.pre-text {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--silver);
  text-transform: uppercase;
}

.ping-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
}

.ping-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 14px rgba(16, 185, 129, 0.9); }
}

.ping-text {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 600;
}

.hero__name {
  font-family: var(--f-cond);
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--white);
  position: relative;
  user-select: none;
}

.hero__tagline {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--silver);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hstat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hstat__num {
  font-family: var(--f-cond);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--cyan);
}

.hstat__label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--grey);
  text-transform: uppercase;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Hero Photo Frame ── */
.hero__photo-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.hero__photo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--border-bright);
  background: var(--dark);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.hero__photo {
  width: 100%;
  display: block;
  filter: grayscale(0%) contrast(1.05);
  transition: transform 0.5s var(--ease-smooth);
}

.hero__photo-frame:hover .hero__photo {
  transform: scale(1.02);
}

.photo-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(0, 229, 204, 0.06) 50%, transparent);
  animation: scanPhoto 6s ease-in-out infinite;
}

@keyframes scanPhoto {
  0% { transform: translateY(-100%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

.photo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  background: var(--cyan);
  color: #000;
  padding: 4px 10px;
  font-weight: 700;
}

/* Vertical strip */
.hero__vstrip {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: var(--void);
  border-left: 1px solid var(--border);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.vs-text {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--silver);
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ── Ticker Strip ── */
.skills-ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--void);
  padding: 16px 0;
}

.st-inner {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  animation: stTick 32s linear infinite;
}

.st-inner span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--silver);
  text-transform: uppercase;
}

@keyframes stTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── About Quick Section ── */
.about-quick {
  padding: 120px 0;
  background: var(--dark);
}

.aq-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.aq-title {
  font-size: clamp(44px, 5.5vw, 76px);
  margin-top: 12px;
}

.aq-body {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--silver);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius-md);
}

.skill-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-label span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--silver);
  text-transform: uppercase;
}

.skill-bar {
  height: 3px;
  background: var(--mid);
  overflow: hidden;
  border-radius: 2px;
}

.skill-fill {
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* ── Featured Work Section ── */
.featured-work {
  padding: 120px 0;
  background: var(--void);
}

.fw-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.fw-title {
  font-size: clamp(44px, 5.5vw, 76px);
}

.fw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fw-card--large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
}

.fw-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease-smooth);
  overflow: hidden;
}

.fw-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.fw-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  background: var(--dark);
}

.fw-card--large .fw-card__img {
  aspect-ratio: auto;
  min-height: 380px;
}

.fw-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.85) 0%, transparent 60%);
  z-index: 2;
}

.fw-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-smooth);
}

.fw-card:hover .fw-project-img {
  transform: scale(1.04);
}

.fw-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  background: var(--cyan);
  color: #000;
  padding: 4px 10px;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 3;
}

.fw-card__info {
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fw-card--large .fw-card__info {
  border-top: none;
  border-left: 1px solid var(--border);
  justify-content: center;
  padding: 40px;
}

.fw-cat {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-transform: uppercase;
}

.fw-name {
  font-family: var(--f-cond);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--white);
  text-transform: uppercase;
}

.fw-year {
  font-family: var(--f-mono);
  font-size: 11px;
}

/* ── CTA Strip ── */
.cta-strip {
  padding: 100px 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 229, 204, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 204, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-strip__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Responsive Design ── */
@media (max-width: 1024px) {
  .hero__wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .aq-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .fw-grid {
    grid-template-columns: 1fr;
  }

  .fw-card--large {
    grid-template-columns: 1fr;
  }

  .fw-card--large .fw-card__info {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .fw-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
