.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 3.5rem 6rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.heading-wrap {
  margin-bottom: 1.6rem;
}

.heading-text {
  display: block;
  font-family: 'SojinsHandwriting', cursive;
  font-size: 136px;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}

.heading-hi {
  color: var(--accent);
}

.type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--muted);
  vertical-align: middle;
  margin-left: 3px;
  border-radius: 1px;
  animation: cursorBlink 0.6s step-end infinite;
}

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

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'SojinsHandwriting', cursive;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 28px;
  padding: 11px 26px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'SojinsHandwriting', cursive;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 11px 26px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cta:hover {
  filter: brightness(0.88);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 2.4rem;
}

.social-icon {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icon:hover {
  color: var(--accent);
  transform: scale(1.25) translateY(-2px);
}


@media (max-width: 700px) {
  .hero { padding: 1rem 1.5rem 3rem; }
  .doodle { width: min(220px, 55vw); opacity: 0.5; bottom: 3.5rem; }
  .heading-text { font-size: clamp(48px, 14vw, 90px); white-space: normal; text-align: center; }
  .cta { font-size: 16px; padding: 10px 22px; }
  .cta-secondary { font-size: 16px; padding: 10px 22px; }
  .socials { margin-top: 1.6rem; }
}

@media (max-width: 480px) {
  .heading-text { font-size: clamp(42px, 12vw, 60px); }
  .cta { font-size: 16px; padding: 11px 22px; }
}
