/* ================================================
   HOME PAGE — index.html
   Hero, typewriter, featured work, ticker
   ================================================ */

/* ------------------------------------------------
   HERO SECTION
   ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-lg);
  text-align: center;
  overflow: hidden;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(215, 144, 123, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(243, 249, 210, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  max-width: 800px;
  width: 100%;
}

/* ------------------------------------------------
   TYPEWRITER
   ------------------------------------------------ */
.hero__typewriter-container {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.hero__typewriter-line {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5em;
}

.hero__typewriter-text {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.hero__name-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  transition: opacity 0.1s;
}

.hero__name {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  font-style: italic;
  color: var(--accent-cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__subtitle-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-xs);
  transition: opacity 0.1s;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  color: var(--accent-warm);
  letter-spacing: 0.05em;
}

/* Cursor */
.hero__cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent-cream);
  margin-left: 2px;
  vertical-align: text-bottom;
}

.hero__cursor--blinking {
  animation: cursorBlink 0.6s step-end infinite;
}

.hero__cursor--solid {
  animation: none;
  opacity: 1;
}

.hero__cursor--hidden {
  opacity: 0;
}

.hero__cursor--name {
  height: 0.9em;
  background: var(--accent-cream);
}

.hero__cursor--subtitle {
  height: 1em;
  background: var(--accent-warm);
}

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

/* ------------------------------------------------
   HERO BUTTONS
   ------------------------------------------------ */
.hero__buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.hero__buttons--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------
   SCROLL INDICATOR
   ------------------------------------------------ */
.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.hero__scroll--visible {
  opacity: 1;
}

.hero__scroll-text {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero__scroll-arrow {
  color: var(--text-tertiary);
  font-size: 14px;
  animation: scrollFloat 2s ease-in-out infinite;
}

@keyframes scrollFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ------------------------------------------------
   WHAT I DO STRIP
   ------------------------------------------------ */
.strip {
  padding: 80px var(--space-lg);
}

.strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.strip__statement {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent-cream);
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
}

/* ------------------------------------------------
   FEATURED WORK
   ------------------------------------------------ */
.featured-work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .featured-work__grid {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1fr 1fr;
  }

  .featured-work__card:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .featured-work__card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .featured-work__card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }
}

.featured-work__footer {
  text-align: right;
}

/* ------------------------------------------------
   TOOLS TICKER
   ------------------------------------------------ */
.ticker {
  overflow: hidden;
  padding: var(--space-md) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ticker__track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.ticker__sep {
  color: var(--text-tertiary);
  opacity: 0.4;
}

@keyframes tickerScroll {
  to {
    transform: translateX(-50%);
  }
}
