.home-hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.home-logo {
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 128px);
  letter-spacing: 2px;
  line-height: 1;
  position: relative;
  margin: 0 0 6px;
}

.home-logo .brand-dot {
  color: var(--red-bright);
}

/* Signature element: a single drip that "bleeds" down from the wordmark
   on load, then settles into a static underline. One accent, one moment. */
.drip-rule {
  position: relative;
  width: min(360px, 70vw);
  height: 3px;
  background: var(--border);
  margin: 18px 0 34px;
  overflow: visible;
}

.drip-rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: var(--red-bright);
  transform-origin: left center;
  animation: drip-fill 900ms cubic-bezier(0.65, 0, 0.35, 1) 300ms both;
}

.drip-rule::after {
  content: '';
  position: absolute;
  left: calc(50% - 3px);
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50% 50% 50% 0;
  background: var(--red-bright);
  transform: rotate(45deg) translateY(-40px);
  opacity: 0;
  animation: drip-fall 900ms cubic-bezier(0.55, 0, 1, 0.45) 300ms both;
}

@keyframes drip-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes drip-fall {
  0% { transform: rotate(45deg) translateY(-40px); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: rotate(45deg) translateY(4px); opacity: 0; }
}

.home-tagline {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.3px;
  margin-bottom: 40px;
}

.home-search {
  width: min(560px, 90vw);
}

.home-search form {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.home-search form:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.25);
}

.home-search input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 16px 22px;
  font-size: 16px;
  font-family: var(--font-body);
}

.home-search input:focus {
  outline: none;
}

.home-search button {
  border: none;
  background: var(--red);
  color: var(--text);
  padding: 0 26px;
  display: flex;
  align-items: center;
  transition: background 0.15s ease;
}

.home-search button:hover {
  background: var(--red-bright);
}

.home-search svg {
  width: 20px;
  height: 20px;
}
