.home {
  --hero-bg: #030305;
  --hero-text: #ffffff;
  --hero-text-secondary: rgba(255, 255, 255, 0.72);
  --hero-accent: #f4a81d;
  --hero-success: #f4a81d;
  --hero-glass-bg: rgba(12, 12, 16, 0.35);
  --hero-glass-border: rgba(255, 255, 255, 0.12);
}

.portfolio-hero,
.portfolio-hero * {
  box-sizing: border-box;
}

.portfolio-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 8.5rem 4rem 2rem;
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-text);
  background: var(--hero-bg);
  font-family: var(--brand-font);
}

.portfolio-hero a {
  color: inherit;
  text-decoration: none;
}

.portfolio-hero__media,
.portfolio-hero__overlay {
  position: absolute;
  inset: 0;
}

.portfolio-hero__media {
  z-index: -2;
  background: var(--hero-bg);
}

.portfolio-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-hero__overlay {
  z-index: -1;
  background: linear-gradient(105deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.45) 48%, rgba(5, 5, 8, 0.55) 100%);
  pointer-events: none;
}

.portfolio-hero__content {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 2rem 0;
}

.portfolio-hero__text {
  max-width: 38rem;
}

.portfolio-title {
  margin: 0 0 1.15rem;
  padding: 0;
  color: var(--hero-text);
  font-family: var(--brand-font);
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.portfolio-title .hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-title.is-ready .hero-word {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-subtitle {
  margin: 0 0 1.75rem;
  padding: 0;
  color: var(--hero-text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-subtitle.is-in {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-cta.is-in {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 0.35s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.portfolio-hero a.portfolio-button--primary {
  color: #111;
  background: #ffffff;
}

.portfolio-hero a.portfolio-button--primary:hover,
.portfolio-hero a.portfolio-button--primary:focus-visible {
  color: #111;
  transform: translateY(-2px);
  background: #f4a81d;
}

.portfolio-button--outline {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.portfolio-button--outline:hover,
.portfolio-button--outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.portfolio-hero__footer,
.portfolio-footer-left,
.portfolio-socials,
.portfolio-scroll-indicator,
.portfolio-availability {
  display: flex;
  align-items: center;
}

.portfolio-hero__footer {
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-hero__footer.is-in {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-footer-left {
  gap: 2rem;
}

.portfolio-socials {
  gap: 0.5rem;
}

.portfolio-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: transparent;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.portfolio-socials a:hover,
.portfolio-socials a:focus-visible {
  color: #111;
  border-color: #ffffff;
  background: #ffffff;
  transform: translateY(-2px);
}

.portfolio-scroll-indicator {
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.portfolio-mouse {
  position: relative;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
}

.portfolio-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--hero-text);
  transform: translateX(-50%);
  animation: portfolio-wheel 2s infinite;
}

/* Sade durum satırı — cam kart / uppercase / glow yok */
.portfolio-availability {
  gap: 0.7rem;
  max-width: none;
  padding: 0.55rem 0.95rem 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: none;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.portfolio-availability:hover,
.portfolio-availability:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.portfolio-availability__text {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.portfolio-availability strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.portfolio-availability__text > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  font-weight: 400;
}

.portfolio-pulse-dot {
  position: relative;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hero-success);
}

.portfolio-pulse-dot::after {
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(61, 214, 140, 0.55);
  border-radius: inherit;
  content: "";
  animation: portfolio-ring 2.4s ease-out infinite;
}

@keyframes portfolio-wheel {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  70%,
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

@keyframes portfolio-ring {
  from {
    opacity: 0.7;
    transform: scale(0.85);
  }
  to {
    opacity: 0;
    transform: scale(1.9);
  }
}

@media (max-width: 1200px) {
  .portfolio-hero {
    padding: 8rem 2rem 2rem;
  }
}

@media (max-width: 1024px) {
  .portfolio-hero__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .portfolio-footer-left {
    justify-content: space-between;
    width: 100%;
  }

  .portfolio-scroll-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  .portfolio-hero__text {
    max-width: 100%;
  }

  .portfolio-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .portfolio-footer-left {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .portfolio-hero {
    min-height: 50svh;
    padding: 6.5rem 1.25rem 1.25rem;
  }
}

@media (max-width: 767px) {
  .portfolio-hero {
    min-height: 50svh;
    padding: 6.5rem 1.25rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .portfolio-hero {
    min-height: 50svh;
    padding: 6.5rem 1.25rem 1.25rem;
  }

  .portfolio-hero__content {
    padding: 2rem 0;
  }

  .portfolio-availability__text {
    gap: 0.25rem;
  }

  .portfolio-availability__text > span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-title .hero-word,
  .portfolio-subtitle,
  .portfolio-cta,
  .portfolio-hero__footer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .portfolio-wheel,
  .portfolio-pulse-dot::after {
    animation: none !important;
  }
}
